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: WebCat name recognition (was MacFinder -- a new WebDNAweb (1998)
Sku numbers (1997)
Product Value Changes (2000)
[WebDNA] Live Currency exchanege rates (2008)
[WebDNA] [WSC] WebDNA Development Summit (2014)
list items (1998)
Help! I've fallen in Structured Query Language and can'tget (2002)
Paranoid about serial numbers...not (1998)
help needed: Non-english characters in WebCatalog (1997)
Extended [ConvertChars] (1997)
Error: Error: expected [/APPLICATION] ??? (1998)
Exists? (1997)
Preserving form data (1999)
Cookie woes with Mac IE4 (1998)
wc 2 pro users - sites, quotes wanted (1997)
OT: Kiosk Server (2003)
READFILE command? (1998)
absolute paths for databases? (1997)
WebDNA EMail Preference (2005)
New public beta available (1997)