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

version 2 for NT (1997) Field lenght (1998) Setting up shop (1997) Using Applescript to process WebCatalog functions (1998) Ampersand (1997) Sorting search results (1998) New commands in Final candidate (1997) Beta version-Mac? (was Emailer update for Mac?) (1998) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) HomePage Caution (1997) WebCatalog 4.0 has been released! (2000) WebCat2b15MacPlugin - [protect] (1997) [WebDNA] passing a variable in an include - precedence (2017) autocommit problem (1998) Billing when shipped (2006) [WebDNA] Installing 6.0 onto Server 2008 (2011) Trouble with formula.db (1997) Looking for easy way to back up dbs... (2003) no global [username] or [password] displayed ... (1997) Location of Webcat site in folder hierarchy (1997)