[WebDNA] GREP problem

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106554
interpreted = N
texte = --Apple-Mail-9-776720725 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Some help with this please. I am using this: [grep search=3D([^a-zA-Z0-9_-])&replace=3D]string[/grep] on this: abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-=3D{}|[]\:";'<>?,./=20 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ ^^^ Note the CR and the space above to produce this: abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ All happy so far, but I also want to return the plus sign "+", I tried = ([^a-zA-Z0-9_-\+]) and other combinations but cant seem to make it work = properly. Any ideas ?? Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au --Apple-Mail-9-776720725 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Some = help with this please.

I am using = this:

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

on this:

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

to produce this:
abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ


All happy so far, but I also want = to return the plus sign "+", I tried ([^a-zA-Z0-9_-\+]) and other = combinations but cant seem to make it work properly.

Any ideas ??



Regards

Stuart Tremain
IDFK = Web Developments
AUSTRALIA
webdna@idfk.com.au




= --Apple-Mail-9-776720725-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] GREP problem (Govinda 2011)
  2. Re: [WebDNA] GREP problem (Stuart Tremain 2011)
  3. Re: [WebDNA] GREP problem (Govinda 2011)
  4. Re: [WebDNA] GREP problem (William DeVaul 2011)
  5. [WebDNA] GREP problem (Stuart Tremain 2011)
  6. Re: [WebDNA] Grep problem (William DeVaul 2010)
  7. [WebDNA] Grep problem (Kenneth Grome 2010)
--Apple-Mail-9-776720725 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Some help with this please. I am using this: [grep search=3D([^a-zA-Z0-9_-])&replace=3D]string[/grep] on this: abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+`-=3D{}|[]\:";'<>?,./=20 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ ^^^ Note the CR and the space above to produce this: abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ All happy so far, but I also want to return the plus sign "+", I tried = ([^a-zA-Z0-9_-\+]) and other combinations but cant seem to make it work = properly. Any ideas ?? Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au --Apple-Mail-9-776720725 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Some = help with this please.

I am using = this:

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

on this:

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

to produce this:
abcdefghijklmnopqrstuvwxyz_-1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ


All happy so far, but I also want = to return the plus sign "+", I tried ([^a-zA-Z0-9_-\+]) and other = combinations but cant seem to make it work properly.

Any ideas ??



Regards

Stuart Tremain
IDFK = Web Developments
AUSTRALIA
webdna@idfk.com.au




= --Apple-Mail-9-776720725-- 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:

PSC recommends what date format yr 2000??? (1997) Database causes out of memory error (2000) Re[3]: 2nd WebCatalog2 Feature Request (1996) random within a specified range (2001) WebCatalog 4.0.1 has been released! (2000) Possible Bug in 2.0b15.acgi (1997) [WebDNA] Ubuntu 18.04 & Apache2 & WebDNA fcgi - File upload (2019) Database Path (1998) Cookie woes with Mac IE4 (1998) Still having problems with Authen (1997) embedding commands in form (1999) RE: [WebDNA] Scheduling App (2017) WebCat2b13MacPlugin - nested [xxx] contexts (1997) bull (1998) Banners (1997) faxing orders (2000) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) emailer on Windows Beta 18 (1997) [OT] MacOs IE5 topmargin and leftmargin bug (2000) Beta Documentation (1997)