代码
========
$reg = '/<iframe[^>]*?src="[^"]*?\.(?!video)[^>]*><\/iframe>/i';
preg_match_all($reg, $html, $matches);
var_dump($matches);exit;为什么结果里面还会有
=========================
<iframe src=" http://video.axasdfasdfasd" width="480" height="520" border="0" frameborder="no" framespacing="0" scrolling="no"></iframe>这样的匹配结果出来呢?
========
$reg = '/<iframe[^>]*?src="[^"]*?\.(?!video)[^>]*><\/iframe>/i';
preg_match_all($reg, $html, $matches);
var_dump($matches);exit;为什么结果里面还会有
=========================
<iframe src=" http://video.axasdfasdfasd" width="480" height="520" border="0" frameborder="no" framespacing="0" scrolling="no"></iframe>这样的匹配结果出来呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货