Grep -Replace with nothing

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54834
interpreted = N
texte = Reposting with different subject so it doesn't get buried. I know I can do: [grep search=FRED&replace=&ignorecase=T][stringofwords][/grep] But how would I do more than one search value? [grep search=FRED JOHN MARTHA&replace=&ignorecase=T][stringofwords][/grep] ??? Its not that easy is it? Thanks, Donovan -------- Original Message -------- Hello, Say I have a string of words diliminated by a space. FRED JOHN MARTHA and I wanted to run through a string of text and replace those matching values with nothing in the string. Can someone educate me on a good grep for this (as I just gripe when I grep)? [Grep search=&replace=][stringofwords][/grep] Thanks, Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Grep -Replace with nothing ( Donovan Brooke 2003)
  2. Re: Grep -Replace with nothing ( "Rajeev Kumar" 2003)
  3. Grep -Replace with nothing ( Donovan Brooke 2003)
Reposting with different subject so it doesn't get buried. I know I can do: [grep search=FRED&replace=&ignorecase=T][stringofwords][/grep] But how would I do more than one search value? [grep search=FRED JOHN MARTHA&replace=&ignorecase=T][stringofwords][/grep] ??? Its not that easy is it? Thanks, Donovan -------- Original Message -------- Hello, Say I have a string of words diliminated by a space. FRED JOHN MARTHA and I wanted to run through a string of text and replace those matching values with nothing in the string. Can someone educate me on a good grep for this (as I just gripe when I grep)? [Grep search=&replace=][stringofwords][/grep] Thanks, Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Donovan Brooke

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:

WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) OK, here goes... (1997) How to add commas to number displays (2004) Web Catalog 2 demo (1997) [SameAsShipping] (2005) [WebDNA] [OT] the "Work in progress" thread. (2009) WCS Newbie question (1997) https validation (2001) Decimal/Modulus (2001) OT: Variables in printed URL (2007) Running 2 two WebCatalog.acgi's (1996) WebDNA equivalent for $REQUEST_URI (2004) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) [WebDNA] TCPCONNECT & Timeout (2015) State Coalition Approves Internet Sales Tax Plan (2002) Signal Raised Error (1997) Using WC for Bulk Emailings (1997) Sorting nested search (2003) [OT] Change permissions via FTP? (2002) flushdatabases (1997)