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:
CSS problem (2000)
Grep and convertchars (2003)
redirect & arguments (2001)
Still can't upgrade users.db to 2.1.1 (1998)
Using Plug-In while running 1.6.1 (1997)
Add to Cart & List of Products (1997)
Cache/Alias Db bug (2000)
purchase.log file (1997)
select multiple 2 more cents (1997)
[Sum] function? (1997)
Search in 2 or more catalogs (1997)
[shownext] (2002)
OT (stupid redirect/refresh question) (2002)
browser info.txt and SSL (1997)
WebCat2: Items xx to xx shown, etc. (1997)
WebCat2 - Getting to the browser's username/password data (1997)
lineitem variables (1999)
Pithy questions on webcommerce & siteedit (1997)
Cart ID Duplication (2001)
snicker, snicker (1997)