01 尾数不是4的 \d+[^4]$
02 不能含4的 [0-35-9]{11}
03 AABB尾号 ^\d+(\d)(?!\1)(\d)\2((?!\2)\d)\3$
04 AAA尾号 ^\d+(\d)(?!\1)(\d)\2{2}$
05 AAA非尾号 ^(\d)+(?!\1)(\d)\2{2}(?!\2)\d+$
06 AAA不限位 ^(\d)+(?!\1)(\d)\2{2}(?!\2)\d*$
07 AAAB尾号 (\d)+(?!\1)(\d)\2{2}((?!\2)\d)$
08 ABAB尾号 ^\d{7}(\d)((?!\1)\d)\1\2$
09 AABA尾号 ^\d{7}(\d)\1((?!\1)\d)\1$
10 ABAA尾号 ^\d{7}(\d)((?!\1)\d)\1{2}$
11 ABBA尾号 ^\d{7}(\d)((?!\1)\d)\2\1$
12 ABCC尾号 ^\d{7}(\d)((?!\1)\d)((?!\1|\2)\d)\3$
13 AABBB不限位 (\d)\1{1,}(\d)\2{2,}
14 ABBABB,AABAAB不限位 ((\d)\2*(?!\2)(\d)\3*)\1+
15 AABB,AAABB,AABBB不限位 (\d)\1{1,}(\d)\2{1,}
16 3位以上的重复数字 (\d)\1{2,}
17 6位顺增 (?:0(?=1)|1(?=2)|2(?=3)|3(?=4)|4(?=5)|5(?=6)|6(?=7)|7(?=8)|8(?=9)){5}\d
18 3位以上顺增 (?:0(?=1)|1(?=2)|2(?=3)|3(?=4)|4(?=5)|5(?=6)|6(?=7)|7(?=8)|8(?=9)){3,}+\d
19 6位顺降 (?:9(?=8)|8(?=7)|7(?=6)|6(?=5)|5(?=4)|4(?=3)|3(?=2)|2(?=1)|1(?=0)){5}\d
20 6位顺增或顺降 (?:(?:0(?=1)|1(?=2)|2(?=3)|3(?=4)|4(?=5)|5(?=6)|6(?=7)|7(?=8)|8(?=9)){5}|(?:9(?=8)|8(?=7)|7(?=6)|6(?=5)|5(?=4)|4(?=3)|3(?=2)|2(?=1)|1(?=0)){5})\d
21 4-9位连续的数字 (?:(?:0(?=1)|1(?=2)|2(?=3)|3(?=4)|4(?=5)|5(?=6)|6(?=7)|7(?=8)|8(?=9)){3,}|(?:9(?=8)|8(?=7)|7(?=6)|6(?=5)|5(?=4)|4(?=3)|3(?=2)|2(?=1)|1(?=0)){3,})\d
22 日期类型的数字 (19|20)\d{2}(1[0-2]|0?[1-9])(31|2[0-9]|1[0-9]|0?[0-9])
来源:https://www.cnblogs.com/zhaoshujie/p/14178071.html
如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!
txttool.com 说一段 esp56物联 查询128 IP查询