js中replace的用法(有转义字符)

原文章网址: https://www.cnblogs.com/skywang/articles/2051052.html replace方法的语法是:stringObj.replace(rgExp, replaceText) 其中stringObj是字符串(string),reExp能够是正则表达式对象(RegExp)也能够是字符串(string),replaceText是替代查找到的字符串。为了
相关文章
相关标签/搜索