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{1,3}(?:,\d{3})*(?:[.]\d{2})?$
/
Input 1
1
New
0 12 12.123 12,12 12, 123. 12,123,123.88 12,123,123.12456 12125457.22 1,1,1,1 1.1
Substitution
0 12 12.123 12,12 12, 123. 12,123,123.88 12,123,123.12456 12125457.22 1,1,1,1 1.1