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:
WCS Newbie question (1997)
Grep Ampersands (2008)
DB not found error RESOLVED (2004)
Using [purchase] (1998)
Re:Why did PCS send me this? (1999)
More on [purchase] (1998)
PCS Frames (1997)
Showif date range comparison (1999)
searching for items that begin with a number (2004)
Linux ODBC and the ODBC Bridge (2000)
syntax question, not in online refernce (1997)
Is this a DEATH THREAT? (2002)
WC Database Format (1997)
Almost a there but..bye bye NetCloak (1997)
Help name our technology! (1997)
Quitting WebMerchant ? (1997)
A little syntax help (1997)
adding item to cart question (1998)
Strange Form Occurrence on Log In Pages (2005)
Redirect (2000)