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
/
\b(\d{1,3}|1\d{1,3}|20[012][0-3])\b
/
g
Input 1
1
New
1 2 3 4 102 921932 2100 2000 1999 23412 92 41 2022 2021 2023 2024 2025 1998 666 667
Substitution
1 2 3 4 102 921932 2100 2000 1999 23412 92 41 2022 2021 2023 2024 2025 1998 666 667