Search and Replace query

Discussion in 'HTML' started by KiwiBrian, Dec 14, 2004.

  1. KiwiBrian

    KiwiBrian Guest

    I have a lot of HTML files where I want to replace a section of code with a
    replacement.
    Although the HTML is identical in every case, with an identical comment,
    there can be various amounts white space associated with the comments and
    the formatting of the HTML.
    Is there a suitable program that could be used.
    I often use InfoRapid for such tasks but it does not seem to be able to
    handle the variable white-space.
    Or maybe I am not using it correctly.
    Any help would be appreciated

    Brian Tozer
    KiwiBrian, Dec 14, 2004
    #1
    1. Advertising

  2. KiwiBrian

    Mark Parnell Guest

    Previously in alt.html, KiwiBrian <> said:

    > I have a lot of HTML files where I want to replace a section of code with a
    > replacement.
    > Although the HTML is identical in every case, with an identical comment,
    > there can be various amounts white space associated with the comments and
    > the formatting of the HTML.


    Regular expressions.

    --
    Mark Parnell
    http://www.clarkecomputers.com.au
    Mark Parnell, Dec 14, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark McKay
    Replies:
    3
    Views:
    1,310
    Thomas Weidenfeller
    Jan 21, 2004
  2. Brian Blais
    Replies:
    1
    Views:
    376
    Bruno Desthuilliers
    Jun 27, 2006
  3. Abby Lee
    Replies:
    5
    Views:
    400
    Abby Lee
    Aug 2, 2004
  4. laredotornado
    Replies:
    3
    Views:
    124
    Csaba Gabor
    Nov 12, 2009
  5. Replies:
    1
    Views:
    517
    Rainer Weikusat
    Jun 21, 2012
Loading...

Share This Page