I need to remove some 'a tags' that have img's in them only if the a href matches exactly. This is the code that needs to be removed-
<a class="slideshow" href="?Action=thumbnail&Width=500&Height=500&algorithm=proportional" rel="lightbox[eventer]" onclick="myLightbox.start(this); return false;">
<img src="?Action=thumbnail&Width=80&Height=80&algorithm=fill_proportional">
</a>
So if the href is equal to the one above, the 'a tag' and 'img' need to be removed from the dom.
======edit=======
I am using a proprietary CMS that spits out tags within href and src tags, I can't actually edit the code surrounding the url which makes it a bit pokey.