Re: Grep -Replace with nothing

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54848
interpreted = N
texte = Hi, [grep search=FRED|JOHN|MARTHA&replace=&ignorecase=T][stringofwords][/grep] separate with | Raj ----- Original Message ----- From: "Donovan Brooke" To: "WebDNA Talk" Sent: Thursday, December 11, 2003 6:30 AM Subject: Grep -Replace with nothing > 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/ ------------------------------------------------------------- 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)
Hi, [grep search=FRED|JOHN|MARTHA&replace=&ignorecase=T][stringofwords][/grep] separate with | Raj ----- Original Message ----- From: "Donovan Brooke" To: "WebDNA Talk" Sent: Thursday, December 11, 2003 6:30 AM Subject: Grep -Replace with nothing > 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/ ------------------------------------------------------------- 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/ "Rajeev Kumar"

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:

WebCat2 Append problem (B14Macacgi) (1997) Emailer (WebCat2) (1997) WCf2 and nested tags (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Server slowing down. (1997) Databases (2000) OT: Poll Please (2002) A question on sub-categories (1997) WebCat for mass emailings (1997) Error.html (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) multi-paragraph fields (1997) Limiting user access to .tmpl files (1997) cron script for housekeeping and running WebCatalog? (1999) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) RAM variables (1997) RE: Redirect (1998) More on screen refresh causing duplicate order entries (1998) Template Encryption (1998) RE: [WebDNA] SHA-512 How To Do It (2014)