title: How to replace markup in html files stored on unix/solaris servers?
body: <p>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.</p>
  
  <p>ex: </p>
  
  <p>Find </p>
  
  <p><code>&lt;div id="someComponent"&gt; .....{a bunch of interior markup} .... &lt;/div&gt;</code></p>
  
  <p>Replace with {empty}</p>
  
  <p>ex 2:</p>
  
  <p>Find <code>&lt;/div&gt;&lt;/body&gt;</code></p>
  
  <p>Replace <code>&lt;/div&gt;{some HTML markup needed here}&lt;/body&gt;</code></p>