Re: [WebDNA] GREP problem
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106555
interpreted = N
texte = Did you try [url] or other things around the plus sign? The otherpossibility is to try a Unix script to do the search/replace.BillOn Wed, Apr 20, 2011 at 10:45 PM, Stuart Tremain
wrote=:> 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=A0([^a-zA-Z0-9_-\+]) and other combinations but cant seem to make i=t> work properly.> Any ideas ??>>> Regards> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>>>> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list . To unsubscri=be,> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug> Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
Did you try [url] or other things around the plus sign? The otherpossibility is to try a Unix script to do the search/replace.BillOn Wed, Apr 20, 2011 at 10:45 PM, Stuart Tremain wrote=:> 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=A0([^a-zA-Z0-9_-\+]) and other combinations but cant seem to make i=t> work properly.> Any ideas ??>>> Regards> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>>>> --------------------------------------------------------- This message is> sent to you because you are subscribed to the mailing list . To unsubscri=be,> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug> Reporting: support@webdna.us
William DeVaul
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:
[WebDNA] feature suggestion (2011)
WebCat2b12 - nesting [tags] (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Another reviewer 'forgets' NT WebCatalog (1998)
JavaScript question (2001)
Problems reading files created by WC (1997)
Email Formatting (1998)
NT version and O'reily's WebSite (1997)
SOP for WebDNA talk (2004)
[protect admin] (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
BUG in [showif] using ^ (contains) (1997)
problems with 2 tags (1997)
[WebDNA] OT: just poking (2010)
Inconsistent Code (2006)
multi-paragraph fields (1997)
Templates for Customer Database? (1997)
Server IP address? (1998)
I think WebDNA-Talk died ... :( (1997)
(2000)