Js全部替换

inputtext.replace(/\%/g, '') 将%全部替换为空

inputtext.replace(/\,/g, '') 将,全部替换为空

原文地址:https://www.cnblogs.com/Chinarain/p/5553294.html