grep question - removing spaces
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61854
interpreted = N
texte = Hello,I have a grep statement where I am wanting to only allowletters, numbers, dashes and underscores. No spaces or otherspecial charactors (this will eventually be used as ausername for email addresses).Using:[text show=t]ScreenName=[grepsearch=[^0-9a-zA-Z\-\_]&replace=][nickname][/grep][/text]if there is an embedded space, it does not get removed. Whathave I done wrong with this? Thank you!-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hello,I have a grep statement where I am wanting to only allowletters, numbers, dashes and underscores. No spaces or otherspecial charactors (this will eventually be used as ausername for email addresses).Using:[text show=t]ScreenName=[grepsearch=[^0-9a-zA-Z\-\_]&replace=][nickname][/grep][/text]if there is an embedded space, it does not get removed. Whathave I done wrong with this? Thank you!-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"Dale's eLists"
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:
can WC render sites out? (1997)
Assigning carts (1998)
Signup form db weirdness (2006)
Caching pages...again (2001)
Autoreturn Submit? (1997)
Group search doesn't work. (1997)
RE: Writefile outside WebSTAR hierarchy? (1997)
hiding hyperlink info in URL field (1999)
Re[2]: Problem with new formvariables (2000)
[protect] on NT? (1997)
SSL/Document Contains NO Data (1998)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
HELP! 10K hits per hour for pages that no longer exist! (2000)
Multi-Row Tables from a search. (1997)
[carts] and databases (1997)
WSDL Wizard (2003)
Trouble with formula.db (1997)
referrer and no caches (1997)
webstar/webcat monitoring aides? (1999)
I give up!! (1997)