Re: grep question - removing spaces
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61855
interpreted = N
texte = I don't see anything clearly wrong, but I'd try it without the backslashes.Bill-----Original Message-----From: Dale's eLists
Sent: Tue, 26 Apr 2005 10:44:35 -0500To: "WebDNA Talk" Subject: grep question - removing spacesHello,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/-------------------------------------------------------------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:
I don't see anything clearly wrong, but I'd try it without the backslashes.Bill-----Original Message-----From: Dale's eLists Sent: Tue, 26 Apr 2005 10:44:35 -0500To: "WebDNA Talk" Subject: grep question - removing spacesHello,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/-------------------------------------------------------------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/
devaulw@onebox.com
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:
setting taxable to true (1997)
listfields question (2005)
info (1997)
[ShowNext] feature in 2.0 (1997)
WebCat2 - many [carts] on one template page? (1997)
[CONVERTCHARS] suggestion (2000)
RE: Error reading data -1 (1997)
One other big addition... (1997)
Searching (2000)
Not really WebCat- (1997)
PIXO (1997)
b12 cannot limit records returned and more. (1997)
Re:no [search] with NT (1997)
Two submit buttons ? (1997)
Help! WebCat2 bug (1997)
Re:Webmessage Hyperboard (1998)
WebDNA maxing out processor (2008)
Server Freeze (1998)
LetterRip and WebCat & more (1998)
problems with 2 tags (1997)