去除字符串中html标签

   list="<span>123abc</span>"
   list = list.replace(/<.*?>/ig,"");
posted @ 2020-09-15 14:22  weekai  阅读(129)  评论(0编辑  收藏  举报