正则对象的方法有:
test(str) 、exec(str)
string的方法有:
search(reg)、math(reg)、replace(reg)、split(reg)
正则对象的方法与string的方法分别是哪些
最新推荐文章于 2021-11-28 20:43:43 发布
正则对象的方法有:
test(str) 、exec(str)
string的方法有:
search(reg)、math(reg)、replace(reg)、split(reg)