I am using regex method to check that string contains only numbers and just one comma and accept (not prefix or postfix)

EX-> 123,456 Accepted

EX-> ,123456 NOT accepted

EX-> 123456, NOT accepted

I am using below regex but it does not work, it allows to repeat commas and only works for prefix commas

```
[0-9]+(,[0-9]+)*

```

Can anyone help me?