首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
一个小正则
一个小正则
mac
2022-06-30
27
123456789,4567831 匹配前面的4567还有后面的83
var
r = /\d{3}4567\d{2}[,]\d{4}83\d/
;
var
e = "123456789,4567831"
; console.log(r.test(e));
转载于:https://www.cnblogs.com/qzsonline/p/4076774.html
转载请注明原文地址: https://mac.8miu.com/read-61694.html
最新回复
(
0
)