日期:2014-05-17 浏览次数:20654 次
$str=<<<div <div class=body>sad;flksadj;flkd</div> <div class=body>bbbbbbbbbb</div> <div class=bo>cccccccccccc</div> <div class=body>sad;flksadj;flkd</div> div; preg_match_all('/<div class=body>(.*)<\/div>/isU',$str,$m); print_r($m[1]);