title: I want to remove the row if that row's <td> contains only B in my below code?
body: <p>Please check the below code. Here i'm deleting the row, if that row td contains the value "B". But bellow code is removing all rows.</p>
  
  <p>jQuery</p>
  
  <pre><code>$(document).ready(function() {
      $("#mytable tr td:contains('B')").parent().remove();
  });
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;table border="0" align="center" width="45%" cellpadding="2" cellspacing="2"  id="mytable"&gt;
      &lt;tr&gt;
          &lt;td align="center" width="15%"&gt;A&lt;/td&gt;
          &lt;td align="center" width="15%"&gt;B&lt;/td&gt;
          &lt;td align="center" width="15%"&gt;C&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td align="center" width="15%"&gt;AA&lt;/td&gt;
          &lt;td align="center" width="15%"&gt;BB&lt;/td&gt;
          &lt;td align="center" width="15%"&gt;CC&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td align="center" width="15%"&gt;AAA&lt;/td&gt;
          &lt;td align="center" width="15%"&gt;BBB&lt;/td&gt;
          &lt;td align="center" width="15%"&gt;CCC&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>