php 正则匹配html的某个div元素

preg_match("/<div class="m4_box6".*?>.*?</div>/ism",$newhtml,$matchs2);
原文地址:https://www.cnblogs.com/aze999/p/15012780.html