技术 2014-01-10·4 次阅读 js替换IMG标签里的SRC正则 var json = ""; json = json.replace(/]*src=['"]([^'"]+)[^>]*>/gi, ""); alert(json);