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\S*|[12][0-9]{3})\b)\S+\b
/
g
Input 1
New
foo bar 12 3.4 32 1992 112 0433 3312 182470921358 3,412 some text
Extraction
foo bar 12 3.4 32 1992 112 0433 3312 182470921358 3,412 some text