var html = “html字符串”;
var textstr =html.replace(/<[^>]*>|/g,"");//纯文本
html _ 提取html片段内的纯文本
猜你喜欢
转载自www.cnblogs.com/tongbiao/p/9615765.html
今日推荐
周排行