js 清除文本中的html标签

text.replace(/<[^>]+>/g,"");

  

posted @ 2017-06-07 10:56  菜鸟jing  阅读(1845)  评论(0编辑  收藏  举报