[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:

Server Freeze (1998) 'does not contain' operator needed ... (1997) Freeze (2003) Error Messages Returned to User (1997) Requiring that certain fields be completed (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) taxTotal, too (1997) read and write you own cookies with webcat (1997) in header include files? (1998) Navigator Parsing (1997) Re[2]: when is failing to [URL]ize values in a comparison ri (1999) two contexts into one? (1999) BBEdit and WebCatalog 2.0? (1997) RE: Automatic thumbnail images (1998) Sendmail question [Newbie] (1999) Undocumented changes create problems in webcat 4 ... (2000) Help! WebCat2 bug (1997) [Announce] Newest Commerce Site based on WebCatalog (1997) Help! WebCat2 bug (1997) [WebDNA] Different responses for the same commands ... (2011)