php正则匹配video 中或者img的宽度和高度。

            preg_match('/width="(d+)"/',$contentimages, $vwith);//

            preg_match('/height="(d+)"/',$contentimages, $vheight);//
 
原文地址:https://www.cnblogs.com/xiager/p/8252819.html