Need a regular expression to validate number with comma separator. 1,5,10,55 is valid but 1,,,,10 is not valid.
^[0-9]*(,){1}[0-9]*/
try this