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:
PCS Frames-Default page is solution! (1997)
Graphical display of sales volume (2003)
Can't load tmpl files (1997)
[OT] Colored source code in IE? (2007)
Bad card db - *mislabled post* (1999)
Conditional searching & displaying (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
complete escaped ascii chart - importing and exporting files question (1998)
Rhapsody? (1997)
international time (1997)
search function (2005)
Quick ShowIf question (1997)
textA (1998)
Creating Discussion Forum (2000)
HTML Editors (1997)
Fun with Dates - revisited (1997)
Eudora plug-in (1998)
Separate SSL Server (1997)
FRAME SRC references (2000)
RequiredFields notes ... (1997)