Jquery removing and changing html tags
<p>I have couple of hyperlinks on my website. What I want is to remove the a href html tag if they match with a given condition.</p>

<p>Example</p>

<p>if href is example.com then, hyperlink should be dissolved and <code>&lt;a&gt;&lt;/a&gt;</code> tag should disappear </p>

<p>I have been using the following statement,</p>

<pre><code>$("a[href='http://www.example.com']").removeAttr("href"); 
</code></pre>

<p>the href is going to be removed but <code>&lt;a&gt;</code> is still there. </p>
