Re: Grep and removing text
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45194
interpreted = N
texte = >Ok, I have tried about every variation of code I could come up with and>found no solution.>>I have a text like:>>This is a sunny day --some_thing_here-- how do you, like it?>>Now with grep I want to remove the --some_thing_here--.>>Thus using:>>[grep search=--[a-zA-Z0-9]+--&replace=] the text above [/grep]>>Shouldn¹t this be the best way? I am really confused about this, since we>have used Grep a lot of times and it always worked.Try wildcard:[grep search=--.+--&replace=]. will match any character except line break--   *************************************************************  Christer Olsson   PO Box 9160        Phone +46 40 25 85 85  Ljusa Idéer AB    SE-200 39 Malmoe   Fax +46 40 25 85 89  Kantyxegatan 5    Sweden             http://www.ljusaideer.se-------------------------------------------------------------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:
>Ok, I have tried about every variation of code I could come up with and>found no solution.>>I have a text like:>>This is a sunny day --some_thing_here-- how do you, like it?>>Now with grep I want to remove the --some_thing_here--.>>Thus using:>>[grep search=--[a-zA-Z0-9]+--&replace=] the text above [/grep]>>Shouldn¹t this be the best way? I am really confused about this, since we>have used Grep a lot of times and it always worked.Try wildcard:[grep search=--.+--&replace=]. will match any character except line break--   *************************************************************  Christer Olsson   PO Box 9160        Phone +46 40 25 85 85  Ljusa Idéer AB    SE-200 39 Malmoe   Fax +46 40 25 85 89  Kantyxegatan 5    Sweden             http://www.ljusaideer.se-------------------------------------------------------------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/
Christer Olsson 
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:Review comparison by PC Magazine: Open for On-line Business (1997)
 
search engines (2001)
 
Instructions for Digest (1997)
 
Emailer & IMail List Server (1998)
 
RE: Writefile outside WebSTAR hierarchy? (1997)
 
Need help with form (1998)
 
 server 2003 weirdness (2004)
 
Tool of Use to Unix WebCat Admins (2000)
 
Install webcat on intel/linux box. (2000)
 
Is this possible in simple search? question? (1998)
 
RE: OK, here goes... (1997)
 
RE: [WebDNA] Windows v7 (2011)
 
Nested tags count question (1997)
 
Emailer setup (1997)
 
Setting up shop (1997)
 
Template not found error messages (1997)
 
 XMLNodes Error (2007)
 
Verifying both name and password (was: THANKS) (1997)
 
service stop and restart (1997)
 
[CART] inside a [LOOP] (1997)