SyntaxFix
Write A Post
Hire A Developer
Questions
I suggest you to do in the following way:
(\d+)(,\s*\d+)*
which would work for a list containing 1 or more elements.