title: Replace table with div, if table content matches a certain value
body: <p>I cannot figure this one out.</p>
  
  <p>I am wondering how I can conditionally change the table below to a div.</p>
  
  <pre><code>&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
   &lt;tr&gt;
    &lt;td&gt;
       Text Here
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>There are multiple tables. Only the one that contains the specified text should be replaced with a <code>div</code>. And the contents of the <code>table</code> should but put inside the replacement <code>div</code>.</p>
  
  <p>I am not sure if this can be done.</p>