Home > Article > Backend Development > 正则匹配,求帮忙解决办法
正则匹配,求帮忙
$strHtml = <div class="rscl"></div> <div class="listNews"> <ul class="iconBoxT14"> <ul class="iconBoxT14"> <ul class="iconBoxT14"> <ul class="iconBoxT14"> <ul class="iconBoxT14"> <ul class="iconBoxT14"> <ul class="iconBoxT14"> <ul class="iconBoxT14"> <ul class="iconBoxT14"> </ul> </ul> </ul> </ul> </ul> </ul> </ul> </ul> </ul> </div> <div>3333</div>