SyntaxFix
Write A Post
Hire A Developer
Questions
\d+(,\d+)*(\.\d+)?
This assumes that there is always at least one digit before or after any comma or decimal and also assumes that there is at most one decimal and that all the commas precede the decimal.