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:
[WebDNA] a major shift in strategy? (2008)
Help formatting search results w/ table (1997)
Leap Day Triggers? -confirmation- (2000)
OT: PDF (2004)
BBEdit and WebCatalog 2.0? (1997)
[WebDNA] Stupid question about CentOS v4 and WebDNA v6 (2008)
unique ascending numbers (2003)
Signal Raised Error (1997)
Restart of DBserver (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
Exists? (1997)
Re:Emailer and encryption (1997)
[searchString] (1997)
Summing fields (1997)
RE:formula.db problems (1999)
Fun with Dates - revisited (1997)
Summing fields (1997)
Server crashes when user saves or views html source (1998)
Shownext never shows next...still (1997)
CMSBuilder (2004)