Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
"
^(?!\d{0,7}(\d)\1{2})\d{1,30}$
"
gm
Input 1
1
New
1234567 1234456 1234445 12345678904444 1234567890 11234567890 11134567890 12345666890 81234567890 811234567890 811134567890 12345666890
Substitution
1234567 1234456 1234445 12345678904444 1234567890 11234567890 11134567890 12345666890 81234567890 811234567890 811134567890 12345666890