$(".container").html().replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, function (match, capture) { console.log(capture); })
获取html 中的所有图片 正则表达式
最新推荐文章于 2024-06-21 16:18:50 发布

$(".container").html().replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi, function (match, capture) { console.log(capture); })