Re: Grep and removing text
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45186
interpreted = N
texte = Nitai @ ComputerOil wrote:...> > Ok, I have tried this:> > [grep search=--[a-zA-Z0-9_]+--&replace=]some text[/grep]Just a long shot or two (my WebCatalog doesn't support grep, so I can't try it out for myself)Try:[grep search=--[a-z][A-Z][0-9][_]+--&replace=]some text[/grep]That's somewhat similar to what you'd do in perl.Or, if you're really, really desperate:[grep search=--[a-z]+--&replace=][grep search=--[A-Z]+--&replace=][grep search=--[0-9]+--&replace=][grep search=--[_]+--&replace=]some text[/grep][/grep][/grep][/grep]Frank Nordberghttp://www.musicaviva.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Nitai @ ComputerOil wrote:...> > Ok, I have tried this:> > [grep search=--[a-zA-Z0-9_]+--&replace=]some text[/grep]Just a long shot or two (my WebCatalog doesn't support grep, so I can't try it out for myself)Try:[grep search=--[a-z][A-Z][0-9][_]+--&replace=]some text[/grep]That's somewhat similar to what you'd do in perl.Or, if you're really, really desperate:[grep search=--[a-z]+--&replace=][grep search=--[A-Z]+--&replace=][grep search=--[0-9]+--&replace=][grep search=--[_]+--&replace=]some text[/grep][/grep][/grep][/grep]Frank Nordberghttp://www.musicaviva.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://search.smithmicro.com/
Frank Nordberg
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:
RE: Subtotal help (1997)
Writefile problem (1999)
Cancel Subscription (1996)
WebCatalog can't find database (1997)
Nested tags count question (1997)
can webcat create directories on NT? (1997)
ShowNext for method=POST (1997)
Problems with Price field (1997)
Don'y know if this is a sily question... (2003)
Date Sort question (2004)
Three new problems, maybe a fourth (1997)
Invisible chars (gremlins) ok in db? (2000)
international time (1997)
[table] strange behaviour REAL solution (2003)
Code database (1998)
WebCatalog for guestbook ? (1997)
OT OSX Login Problem (2006)
Suggestions on best way to work with yyyy/mm/dd (1997)
WebTen and WebCat (1997)
includes and cart numbers (1997)