Does anybody know if a modified strip_tags function exsists where you can specify the ID of the tags to be stripped, and possbile also specify to remove ALL THE DATA IN THE TAGS. Take for example:
<div id="one">
<div id="two">
bla bla bla
</div>
</div>
Running:
new_strip_tags($data, 'two', true);
Must return:
<div id="one">
</div>
Is there something like this out there?