21,886
社区成员
发帖
与我相关
我的任务
分享
$str = file_get_contents("http://www.nhdali.com/zsxx/news02.php");
$match = "/<strong><a\s+href\s*=[\'\"](.*?)[\'\"][^>]*?>(.*?)<.*?em>(.*?)<\/em>.*?<small>([^<]*?)</is";
preg_match_all($match , $str , $arr);
var_dump($arr);