摘要: js中replace的用法replace方法的语法是:stringObj.replace(rgExp, replaceText) 其中stringObj是字符串(string),reExp可以是正则表达式对象(RegExp)也可以是字符串(string),replaceText是替代查找到的字符串。... 阅读全文
posted @ 2015-01-06 15:10 石頭剪刀b 阅读(198) 评论(0) 推荐(0) 编辑