mass-replacing large block of text

From: Andrew Gaffney (agaffney_at_skylineaero.com)
Date: 12/30/03


Date: Tue, 30 Dec 2003 10:30:45 -0600
To: beginners <beginners@perl.org>

I have ~97 HTML documents that I need to strip the footer (about 15 lines) from and
replace with a different block of text. The footer is formatted differently in some of the
HTML files, but they all start with the line:

<table border="0" width="100%" height="5%">

How can I replace everything after that particular line with a custom block of text? Thanks.

-- 
Andrew Gaffney


Relevant Pages