You might also modify the regex to make it as....\d(,\d)*.....if the pattern is always in the form (number,number,number)....Keeping it greedy will hopefully extract the entire number set and neglect anything else.
If debugging is the process of removing bugs, then programming must be the process of putting them in. -- Edsger Dijkstra
Joined: Oct 13, 2005
Using a regular expression might not help; the output might not always be numbers.