How can remove all the div
tags with the class attribute equal to info
in a PHP page, i.e. the <div class="info">...</div>
tags need to be removed from an HTML string.
I have seen this question, but I want to remove elements with the class
equal to info
.
I will like to use Simple HTML DOM (compared to any other library) because I am already using it in the program.