Re: Grep two things at once?
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63068
interpreted = N
texte = John, thank you. So far I've been able to get away with simple grep stuff, but I guess it's time to get the book ... :)-DanOn Wed, 21 Sep 2005 13:38:59 -0400 John Peacock
wrote:> Dan Strong wrote:>> Example: I want to search for any dashes and a spaces in some text and >> replace them with underscores.> > Get the O'Reilly book "Regular Expressions" if you want to do anything significantly useful with >[grep]. This will do what you want:> > [grep search=[- ]&replace=_]the text[/grep]> > The [- ] signifies a set of characters.> > HTH> > John> > -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4501 Forbes Boulevard> Suite H> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5748> > -------------------------------------------------------------> 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:
John, thank you. So far I've been able to get away with simple grep stuff, but I guess it's time to get the book ... :)-DanOn Wed, 21 Sep 2005 13:38:59 -0400 John Peacock wrote:> Dan Strong wrote:>> Example: I want to search for any dashes and a spaces in some text and >> replace them with underscores.> > Get the O'Reilly book "Regular Expressions" if you want to do anything significantly useful with >[grep]. This will do what you want:> > [grep search=[- ]&replace=_]the text[/grep]> > The [- ] signifies a set of characters.> > HTH> > John> > -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4501 Forbes Boulevard> Suite H> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5748> > -------------------------------------------------------------> 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/
"Dan Strong"
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:
Updating a database once per day - An example (1998)
calculating tax rates, mail order solutions and version 2 (1997)
template cache problem (1998)
Really need a answer (1999)
Help name our technology! (1997)
[WebDNA] math date issues? (2013)
[WebDNA] Announcing the new features for the next WebDNA version (2015)
Decrypting a user password (2000)
Carts & cookies (1999)
IPADDRESS mystery (2003)
Re:2nd WebCatalog2 Feature Request (1996)
Where is f2? (1997)
WC2b15 File Corruption (1997)
Image Pirating [protecting against] (2003)
Dark Horse Comics success story (1997)
access denied problem (1997)
SSL (1998)
The Form authentication trick (2000)
Bug? (1997)
Using the Tearoom Teamplates (2000)