Using Jquery or Javascript to find unlabled html
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1520981/remove-elements-with-only-a-nbsp-space-using-jquery">Remove elements with only a &amp;nbsp; space using jQuery</a>  </p>
</blockquote>



<p>I have an automatically generated HTML feed that is filled with garbage... I am trying to clean it up a bit and would like to use jquery to strip out some of the bad code.  So for example on an average page buried in the code there are close to 200x:</p>

<pre><code>&lt;div align="center"&gt; &lt;/div&gt;
</code></pre>

<p>If there was some sort of id or class element, these would be easy to get rid of.  But I can't think of a way to find them without anything actually in them.  Can I search by attribute?  Or better yet is there a way to find by HTML code...</p>
