正则表达式语法大全 js中exec、test、match、search、replace、split用法?
js中exec、test、match、search、replace、split用法?Test是regexp的方法,参数是string,返回值是Boolean。Match是字符串方法,参数是正则表达式,
js中exec、test、match、search、replace、split用法?
Test是regexp的方法,参数是string,返回值是Boolean。Match是字符串方法,参数是正则表达式,返回值是数组。