js 正则提取img标签的src值

var r = '<img[^<>]*? src="([^<>]*?)"';
var yyy=content.match(r);
alert(yyy[1])

原文地址:https://www.cnblogs.com/bin521/p/9057235.html