- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 正则表达式 1
1. ^ 以什么开头 2. $ 以什么结尾 var a=^26$ //以2开头以6结尾 console.log(reg.test(“26”)); ture 3. . 不是\n的任何字符 console.log(reg.test("2.3")); ture console.log(reg.test("2和3"); ture 4. () 分组功能,优先
2017-09-17 21:21:53 230
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人