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:

PROTECT PAGES (2002) !!!!!!!!!!String Search!!!!!!!!!!!!!!!!!! (2001) File commands and Wild Cards ?? (1998) a search based on ^(contains) (1998) Lookinf French speaking or European WebCatters (1999) using WebCat for Associate Programs? (1998) How much is too much? I can never remember the answer. (2002) [ot] Bluetooth Phones That Allow SSH (2004) template includes encrypted template (1999) Frames and WebCat (1997) problems with 2 tags (1997) FW: weird problem (2004) HELP WITH DATES (1997) Location of Browser Info.txt file (1997) WebCat2: Found Items syntax, etc. (1997) japanese characters (1997) $Replace with [founditems] (1997) problems with 2 tags shakur (1997) using showpage and showcart commands (1996) [WebDNA] png support in webDNA (2011)