Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Search and Replace query

Reply
Thread Tools

Search and Replace query

 
 
KiwiBrian
Guest
Posts: n/a
 
      12-14-2004
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


 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      12-14-2004
Previously in alt.html, KiwiBrian <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quickest way to search and replace in a query string? laredotornado Javascript 3 11-12-2009 09:06 AM
quick and dirty registry search and replace? VB? Dave - Dave.net.nz NZ Computing 14 11-08-2004 07:44 PM
search within a search within a search - looking for better way...my script times out Abby Lee ASP General 5 08-02-2004 04:01 PM
Search and replace with NIO and Regex? Mark McKay Java 3 01-21-2004 05:29 PM



Advertisments