I have an html code like below(just a part of it)
<p>
<strong>
<div align="center">
<a onclick="return hs.expand(this)" href="http://example.com/somesome.png">
<img title="some-bla-bla-text" src="http://example.com/somesome.png"
alt="some-bla-bla-text" />
</a>
</div>
</strong><br />
<strong>
<div align="center">...
and want to strip it out as
<p>
<strong>
<div align="center">
<img title="some-bla-bla-text" alt="some-bla-bla-text" />
</div>
</strong><br />
<strong>
<div align="center">...
How can I remove <a onclick="return hs.expand(this)" href="http://example.com/somesome.png">
and its closing tag </a>
part of this string?
A regex to match between <a onclick="return hs.expand(this)"....>
and </a>
would be very helpful I think