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