This is what I have right now:
^[0-9]([,][0-9])?$
My problem is that i want to be able add more than one digit before and after my comma. <
I'd suggest the following:
/^\d+,\d+$/
The + 'matches the preceding item one or more times.'
+
References: