Php regular expression to match a div
- by Thoman
Hello all
<div id="a">
<div id="b">
Foo
</div>
<div id="m">
Bar
</div>
</div>
<div id="c">
Bar
</div>
I want find all object in id="a"
and out put is
<div id="a">
<div id="b">
Foo
</div>
<div id="m">
Bar
</div>
</div>
Geat thanks.