SyntaxFix
Write A Post
Hire A Developer
Questions
Another answer for this would be
^((\d+)|(\d{1,3})(\,\d{3}|)*)(\.\d{2}|)$
This will match a string of:
Each or which can have a decimal place which must be followed by 2 numbers (.\d{2}|)