I'm looking for a way to grab a piece of markup that is in a 1000+ html files published on unix servers (running via apache) and replace the markup with either empty nodes or alternate html markup.
ex:
Find
<div id="someComponent"> .....{a bunch of interior markup} .... </div>
Replace with {empty}
ex 2:
Find </div></body>
Replace </div>{some HTML markup needed here}</body>