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{3})*(?:\.\d\d)?$
/
gm
Input 1
1
New
0.25 2.55 1253.36 45.55 1,253.36 1,253,456 12.345
Substitution
0.25 2.55 1253.36 45.55 1,253.36 1,253,456 12.345