Search & Replace Whole HTML Strings with jQuery
<p>I'm having some trouble searching &amp; replacing an entire string of HTML. </p>

<p>My example in this fiddle is me trying to replace an entire div tag with all of its classes &amp; markup:</p>

<p><a href="http://jsfiddle.net/LqkNE/" rel="nofollow">http://jsfiddle.net/LqkNE/</a></p>

<p>As you can see, there are two little issues-- one with an ampersand that's causing me problems too.</p>

<p>Can someone help me out with what I'm doing wrong?</p>
