I have a html string with simple text:
<div><object height="315" width="560"></object><div><object height="315" width="560"></object></div></div>
How can I remove any occurence of <object>
tag and anything inside it? So I want to replace it with empty string which means anything from <object>
to </object>
including those tags should be removed?