I want a regular expression that will match this html code
PHP Code:
<li class="tel"><strong>Tel: </strong><span><!-- sphoneid telnr="+353 (021)4501172" fileas="Abbey Business & Communications" -->(021)4501172<!-- sphoneid --></span></li>
I set up this one but it doesnt seem to work?
PHP Code:
strContactMatches2 = '~<li class="tel"><strong>Tel: </strong><span><!-- sphoneid telnr="(.*)" fileas="(.*)" -->(.*)<!-- sphoneid --></span></li>~isU';
What is wrong does anyone know