Hi there,
I've been looking around but have yet to find a solution. I'm trying to scrape an HTML document and get the text between two comments however have been unable to do this successfully so far.
I'm 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's (part of) the page that I wish to parse:
<div class="class">
<!-- blah -->
text
<!-- end blah -->
Text I want
<!-- blah -->
text
<!-- end blah -->
</div>
Thanks