📜  js 匹配 img - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:18.511000             🧑  作者: Mango

代码示例1
var html = '';

var re = /]+src="http:\/\/([^">]+)/g
var results = re.exec(html);

var source = results[1];
alert(source);