Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
3 or more single digit consecutive numbers
Open Workspace
JavaScript
Match
Created 2016-12-02 12:40
0
Regular Expression
/
(
.
)(?:
(?:
0
(?=
1
|
\b
)
|
1
(?=
2
|
\b
)
|
2
(?=
3
|
\b
)
|
3
(?=
4
|
\b
)
|
4
(?=
5
|
\b
)
|
5
(?=
6
|
\b
)
|
6
(?=
7
|
\b
)
|
7
(?=
8
|
\b
)
|
8
(?=
9
|
\b
)
|
9
(?=
0
|
\b
)
){3,}
)
/
g
Description
To check whether the given String contains 3 or more consecutive single digit numbers
Submitted by
Pradeep Patil