I look around, but have not yet found a solution. I am trying to clear an HTML document and get the text between two comments, but so far I have not been able to do this successfully.
I am using PHP and have tried the PHP Simple DOM parser, recommended here many times, but can't seem to get it to do what I want.
Here (part) of the page I want to analyze:
<div class="class">
text
Text I want
text
</div>
thanks
source
share