Grepping to remove text & code

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55802
interpreted = N
texte = Hi all, Can I use a [grep] to strip all characters up to a point, leaving others intact, such as: [quote]Originally posted by: gjk:
(leave this alone) and a bunch of other code.... (strip all of this) The rest of the code/text (leave this alone) This opening table will always be the start of the strip: and that comment will always be the end: What's in between is the same table but with different values, so a super large converwords won't work here. If it helps, I can add some unique character or combination at the start/end of the strip.... Any hope? GK ------------------------------------------------------------- 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: Grepping to remove text & code ( Gary Krockover 2004)
  2. Re: Grepping to remove text & code ( Gary Krockover 2004)
  3. Re: Grepping to remove text & code ( Brian Fries 2004)
  4. Re: Grepping to remove text & code ( devaulw@onebox.com 2004)
  5. Grepping to remove text & code ( Gary Krockover 2004)
Hi all, Can I use a [grep] to strip all characters up to a point, leaving others intact, such as: [quote]Originally posted by: gjk:
(leave this alone) and a bunch of other code.... (strip all of this) The rest of the code/text (leave this alone) This opening table will always be the start of the strip: and that comment will always be the end: What's in between is the same table but with different values, so a super large converwords won't work here. If it helps, I can add some unique character or combination at the start/end of the strip.... Any hope? GK ------------------------------------------------------------- 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/ Gary Krockover

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:

Counting files (1998) [OT] Work available (2001) AGAIN: Who's Security? (2000) Checking for @ sign (2006) WebCatalog2 Feature Feedback (1996) [OT] CSS and SSI books (2004) Mime Headers for Mail (1998) No Wanna Duppys (1998) multipart (2004) random sorting broken (was Re[2]: php vs WebCatalog) (2000) Help name our technology! I found it (1997) forming a SKU (1999) The word TYPE in search contexts and fields (1998) Using Plug-In while running 1.6.1 (1997) WebCatalog2 Feature Feedback (1996) Almost a there but..bye bye NetCloak (1997) Country & Ship-to address & other fields ? (1997) taxTotal, grandTotal (1997) Newbie Tax Question (1997) Can't find templaes (1997)