I have a text:
<h3 class="customize">title</h3>
<p class="customize">content</p>
<p class="post-footer align-right customize">
<span class="date">date</span>
</p>
I wish to extract the title, content and date individually, so far, I have got:
preg_match_all("|<h3 class=\"customize\">(.*)?<\/h3>|U", $content, $result, PREG_PATTERN_ORDER);
Which gets the title, but I cant do the same to get the content, does anyone know how?
Thanks,
Ted.