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
/
^[1][2][3][4-9]$|^[1][2][4-9][0-9]$|^[1][3-9][0-9][0-9]$|^[2][0-2][0-9][0-9]$|^[2][3][0-3][0-9]$|^[2][3][4][0-5]$
/
gm
Input 1
1
New
1233 1234 1343 1500 1234 2332 2340 2345 2346 READABLE ^[1][2][3][3-9]$| ^[1][2][4-9][0-9]$| ^[1][3-9][0-9][0-9]$| ^[2][0-2][0-9][0-9]$| ^[2][3][0-3][0-9]$| ^[2][3][4][0-5]$
Extraction
1233 1234 1343 1500 1234 2332 2340 2345 2346 READABLE ^[1][2][3][3-9]$| ^[1][2][4-9][0-9]$| ^[1][3-9][0-9][0-9]$| ^[2][0-2][0-9][0-9]$| ^[2][3][0-3][0-9]$| ^[2][3][4][0-5]$