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
/
^(?![0,.]+$)\d{1,3}(?:,\d{3})*(\.\d{1,2})?$
/
gm
Input 1
1
New
000 00 0 0.00 0,000,000.44 123 123.5 123.56 1,123 1,123.45 1,123,456 1,123,456.55
Substitution
000 00 0 0.00 0,000,000.44 123 123.5 123.56 1,123 1,123.45 1,123,456 1,123,456.55