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. <
Use + sign, and also remove [] brackets around ,(they are not neccessary):
+
[]
,
^[0-9]+(,[0-9]+)?$ // ^-------^---------here they are