Re: Grepping to remove text & code

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55805
interpreted = N
texte = Sounds like a job for a creative use of [middle] rather than [grep] - brian On Jan 30, 2004, at 10:18 AM, Gary Krockover wrote: > 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 > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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: 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)
Sounds like a job for a creative use of [middle] rather than [grep] - brian On Jan 30, 2004, at 10:18 AM, Gary Krockover wrote: > 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 > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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/ Brian Fries

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:

Why is this search finding the right thing?! (2002) WC 4.0 (2000) WebCat Admin access w/ClearlyHome p.i. (1997) [TEST] - Please Ignore (2000) [append] and SSL (1997) Initiating NewCart (1997) Using Plug-In while running 1.6.1 (1997) Authenticating users without dialog box (1997) Extended [ConvertChars] (1997) A question on sub-categories (1997) WebCat2: multiple currency support (1997) [include ...] behavior (1997) Show based on date? (2007) Cart Number sequence (1997) Displaying photo attached to first record (1997) access denied problem (1997) bug in [SendMail] (1997) RE: Purchased cart being overwritten - still !?? (1997) (no subject) (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997)