去掉html中的样式以及img的src正则

624 阅读1分钟

var content = html.replace(/<([a-zA-Z1-6]+)(\s*[^>]*)?>/g, "<$1>");