I have an html page that I want to edit. I want to remove a certain section like the following:
<ul class="agentDetail">
........
.......
........
</ul>
I want to be able to remove the tags and all the content between them. The idea is to edit a page and redisplay it minus some data that I don't want to be seen (hence the removal of some sections).
How can I do this in php?