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:

Summary search -- speed (1997) WebCatalog can't find database (1997) WebCat2b15MacPlugin - showing [math] (1997) problems with 2 tags shakur (1997) Math Problem - Format? (1997) Maybe off topic but how to charge (1997) target=_blank and form variables (1997) The List is Changing (1997) Web Catalog 2 demo (1997) SiteEdit Pro Update Announcement (1997) where's Formulas.db? (2001) url value (2002) off topic fetch vs PCS photomaster (1997) lookups (2000) Server slowing down. (1997) Re:Need help... (1997) [OT] DOD (2002) DrWatson Error! (1999) Protecting webdelivery (1997) HTML encoding in URLs (1997)