会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
进军的蜗牛
博客园
首页
联系
管理
订阅
2019年5月9日
常用的正则表达式备忘录。
摘要: 匹配正则 使用 .test() 方法 let testString = "My test string"; let testRegex = /string/; testRegex.test(testString); 匹配多个模式 使用操作符号 | const regex = /yes|no|mayb
阅读全文
posted @ 2019-05-09 19:51 进军的蜗牛
阅读(410)
评论(0)
推荐(0)
编辑