Is there a way to tell preg_match_all to use the third match it finds skipping the first two? For example, I have the following HTML
<div class="entry">
<div class="text">BlaBlaBla</div>
<div class="date">2009-10-31</div>
</div>
I need preg_match_all to get the contents of the outermost div, and not stop at the first /div it encounters.
Have been banging my head against the wall for awhile now :(