closing tags from opening tags using regex
Posted: Sun Sep 07, 2008 2:43 am
Hello forums !!
I would like to know the closing tags for following strings using php
How to accomplish this using regular expression, any ideas ??
I would like to know the closing tags for following strings using php
Code: Select all
$opening = '<div class="xxy">
<ul id="aab">
<li>';
$closing = ? //should be </li></ul></div>