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[1-9][0-9]*\b
/
gm
Input 1
1
New
-90 90 -0 -00 1 -1 0 00 +2 This is a test 2 and -10 with 0 and +10
Extraction
-90 90 -0 -00 1 -1 0 00 +2 This is a test 2 and -10 with 0 and +10