Remove anchor tag with ID attribute by regex from an HTML string
Example .
<div>
<p>
Test code
</p>
<a id =some value></a>
<a href=URL ></a>
</div>
Have to remove anchor tag with ID attribute. Output should be :
<div>
<p>
Test code
</p>
<a href=URL ></a>
</div>