I am curling a page with php and then I am looking to find a section within that page. That section opens and closes with the html5 <section>
tag like this:
<section id="postingbody">
blah blah blah content
</section>
I am not sure how to get my matching working properly. Just to fill in the matching portion here:
preg_match("/ id=\"postingbody\"\">???????<\/section>/i", $compiled_results, $matches2);
Edit
So here is an example section of the content
<section id="postingbody">
Looking to find a side job ( working your own hours ) or career in the new media field & internet marketing? Web design, graphic design, SEO, Printing & Internet marketing company looking to hire a sales team member. We have 10+ years experience in the Web design & marketing field. Work your own hours, competitive commission rates, we can also train the right candidates for sales. Our office is located in New Jersey.<br>
</section>
So the examples here don't seem to work.