截取中间

$pattern = '/<spanclass="data">(.*?)<\/span>/';
preg_match_all($pattern, $str, $mathchs);

 

posted on 2019-03-25 14:36  薇薇123456  阅读(65)  评论(0编辑  收藏  举报

导航