Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(\d)\1{3}
/
g
Input 1
1
New
14888838": the function would return True because it found "8888". "1111": the function would return True because it found "1111". "1359": the function would return False because it didn't find 4 repeating characters in a row.
Substitution