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+|)[ ]*[*]?[ ]*|)i[ ]*|[ ]*)$
/
gm
Input 1
1
New
1421 -124 -1245, 1234, 1235,002400 12435,000 -132435,0 +134235,014000 -1324,42 +i 345,4+ i*452,0250 +345-i452,00
Extraction