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
/
(?<!\.|\,|\d)([-+]?\d+)(?!\d*[\.|\,]\d*)
/
g
Input 1
1
New
10rats + .36geese = 3.14cows. Also, 14 or exactly 15.0 oranges, I''m not sure. 10rats + ,36geese = 3,14cows. Also, 14 or exactly 15,0 oranges, I''m not sure. 12 + 13 + 14,56 + -12 + -123,456
Extraction