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{2,})[-.^\d]+$
/
gm
Input 1
1
New
-1.2^-2.4 -12^2.4 -1^2 but not 1^2 1+2
Extraction