去除字符串中html标签

   list="<span>123abc</span>"
   list = list.replace(/<.*?>/ig,"");
原文地址:https://www.cnblogs.com/consider/p/13672836.html