js中replace的用法總結

原文連接:http://www.jb51.net/article/44924.htmjavascript replace方法的語法是:stringObj.replace(rgExp, replaceText) 其中stringObj是字符串(string),reExp能夠是正則表達式對象(RegExp)也能夠是字符串(string),replaceText是替代查找到的字符串。。爲了幫助你們更好的
相關文章
相關標籤/搜索