js中string对象的replace方法的用法
String.replace(reg, function (matchStr, subStr1,..., subStrN, indexOfMatchStr, originStr) { return anything; });