摘要:
继续上一篇的写,这篇复杂点。分组+范围var reg=/([abcd]bc)/g; var str="abcd bbcd cbcd dbcd"; console.log(str.match(reg)); console.dir(reg.exec(str)); console.dir(reg.exec(str)); console.dir(reg.exec(str)); console.dir(reg.exec(str)); var reg=/([abcd]bc)/; var str="abcd bbcd cbcd dbcd"; console.log(s 阅读全文
posted @ 2013-10-16 14:22
hongdada
阅读(318)
评论(0)
推荐(0)

浙公网安备 33010602011771号