匹配 111 型(\d)\1{2}
匹配1122 型(\d)\1{1}(\d)\2{1}
匹配 123 型 ((?:0(?=1)|1(?=2)|2(?=3)|3(?=4)|4(?=5)|5(?=6)|6(?=7)|7(?=8)|8(?=9)|9(?=0)){2}\d)
匹配数字型1212类型((?:0(?=1)|1(?=2)|2(?=3)|3(?=4)|4(?=5)|5(?=6)|6(?=7)|7(?=8)|8(?=9)|9(?=0)){1}\d)\1{1}
原文链接:https://www.f2er.com/regex/361627.html