+
95
-

回答

<?php

$content = '测试<iframe height=498 width=510 src="http://bfw.wiki" frameborder=0 allowfullscreen></iframe>测试';
preg_match("/<iframe(.*?)src=\"(.*?)\"(.*?)><\/iframe>/i",$content,$match);
echo $match[2];

网友回复

我知道答案,我要回答