php正则匹配video 中或者img的宽度和高度。
preg_match('/\bwidth="(\d+)"/',$contentimages, $vwith);//宽 preg_match('/\bheight="(\d+)"/',$contentimages, $vheight);//高
preg_match('/\bwidth="(\d+)"/',$contentimages, $vwith);//宽 preg_match('/\bheight="(\d+)"/',$contentimages, $vheight);//高