Re: [WebDNA] GREP question

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105136
interpreted = N
texte = --Apple-Mail-1-830862051 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Thanks Tom I had left the ( ) out which was causing the problem. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 13/04/2010, at 9:28 PM, Tom Duke wrote: > Stuart, > > Try these: > > [grep search=([^a-zA-Z0-9])&replace=]string[/grep] > > and > > [grep search=([^a-zA-Z0-9_-])&replace=]string[/grep] > > > - Tom > > > > > On Tue, Apr 13, 2010 at 9:50 AM, Stuart Tremain wrote: > How can I GREP this: > > abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-={}|[]\:";'<>?,./ > 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > ^^^ Note the CR above > > > To Return: > abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > > And a second return of: > abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > > --Apple-Mail-1-830862051 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Thanks Tom

I had left the (  )  out which was causing the problem.

Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA




On 13/04/2010, at 9:28 PM, Tom Duke wrote:

Stuart,

Try these:

   [grep search=([^a-zA-Z0-9])&replace=]string[/grep]

and

   [grep search=([^a-zA-Z0-9_-])&replace=]string[/grep]


- Tom




On Tue, Apr 13, 2010 at 9:50 AM, Stuart Tremain <webdna@idfk.com.au> wrote:
How can I GREP this:

abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-={}|[]\:";'<>?,./ 
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ

^^^ Note the CR above


To Return:
abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ


And a second return of:
abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ




--Apple-Mail-1-830862051-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] GREP question (Stuart Tremain 2010)
  2. Re: [WebDNA] GREP question (Tom Duke 2010)
  3. [WebDNA] GREP question (Stuart Tremain 2010)
  4. Re: [WebDNA] grep question (Kenneth Grome 2009)
  5. Re: [WebDNA] grep question (Stuart Tremain 2009)
  6. Re: [WebDNA] grep question (Matthew Bohne 2009)
  7. Re: [WebDNA] grep question (Kenneth Grome 2009)
  8. Re: [WebDNA] grep question (Matthew Bohne 2009)
  9. Re: [WebDNA] grep question (Kenneth Grome 2009)
  10. Re: [WebDNA] grep question (Matthew Bohne 2009)
  11. Re: [WebDNA] grep question (William DeVaul 2009)
  12. Re: [WebDNA] grep question (Stuart Tremain 2009)
  13. [WebDNA] grep question (Kenneth Grome 2009)
  14. Re: [WebDNA] GREP Question (Steve Craig 2009)
  15. Re: [WebDNA] GREP Question (Tom Duke 2009)
  16. [WebDNA] GREP Question (Steve Craig 2009)
--Apple-Mail-1-830862051 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Thanks Tom I had left the ( ) out which was causing the problem. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 13/04/2010, at 9:28 PM, Tom Duke wrote: > Stuart, > > Try these: > > [grep search=([^a-zA-Z0-9])&replace=]string[/grep] > > and > > [grep search=([^a-zA-Z0-9_-])&replace=]string[/grep] > > > - Tom > > > > > On Tue, Apr 13, 2010 at 9:50 AM, Stuart Tremain wrote: > How can I GREP this: > > abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-={}|[]\:";'<>?,./ > 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > ^^^ Note the CR above > > > To Return: > abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > > And a second return of: > abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ > > > --Apple-Mail-1-830862051 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Thanks Tom

I had left the (  )  out which was causing the problem.

Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA




On 13/04/2010, at 9:28 PM, Tom Duke wrote:

Stuart,

Try these:

   [grep search=([^a-zA-Z0-9])&replace=]string[/grep]

and

   [grep search=([^a-zA-Z0-9_-])&replace=]string[/grep]


- Tom




On Tue, Apr 13, 2010 at 9:50 AM, Stuart Tremain <webdna@idfk.com.au> wrote:
How can I GREP this:

abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-={}|[]\:";'<>?,./ 
1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ

^^^ Note the CR above


To Return:
abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ


And a second return of:
abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ




--Apple-Mail-1-830862051-- Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] [BULK] The WebDAV Server Module / web services (2012) Using Applescript to process WebCatalog functions (1998) PSC recommends what date format yr 2000??? (1997) RE: Automatic thumbnail images (1998) Searching multiple criteria (2000) WebCatalog can't find database (1997) Mac v. NT (1998) RE: IIS4b2 and WebCatalog b19 (1997) photo upload snippet (2006) Off Topic: Help Wanted (1997) Menu to select product variations (1997) RE: Error: template (1997) [WebDNA] WebDNA on LiveCD ... (2008) faxing orders (2000) How fast is your server? (2002) Squares instead of spaces (2001) I think WebDNA-Talk died ... :( (1997) WebCat editing, SiteGuard & SiteEdit (1997) Help! WebCat2 bug (1997) Announce: WebMerchant 3.0 for Mac shipping now (1998)