`
var text = '<div style="color:red">我是标签</div>' text = text.replace(/<[^>]+>/g,""); console.log("text = "+text);//text = 我是标签