For example i've this kind of content
<div id="t1" class="tt" tag='t2"><div class="t3">tee</div><a href='#'>test</a><span>test</span><div>asdf</div></div>
<div id="t1" class="tt" tag='t2"><div class="t3">tee</div><a href='#'>test</a><span>test</span><div>asdf</div></div>
I am trying to use preg_match to get the content between parent div, so here the parent divs means <div id="t1"
. I do i use preg_match or is there any other way to get the data between those divs?