赞
踩
标签(空格分隔): develop-js
var reg = /(<\s*img[^>]*)style[=\s\"\']+[^\"\']*[\"\']?([^>]*>)/gi; cont = cont.replace(reg, "$1$2"); console.log(cont);