L
Larry Bud
Alright, I don't have time to learn all the intricacies of regular
expressions, but what I want to do is match a string that has:
1) only digits
2) may have a comma
3) must not start or end with a comma
So basically, a string of numbers separated with commas. valid input
could be
123
123,124
123,125,125
1,2,3
1,12,123
Invalid would be
123,
,123
123 124 125
123abc
TIA!
expressions, but what I want to do is match a string that has:
1) only digits
2) may have a comma
3) must not start or end with a comma
So basically, a string of numbers separated with commas. valid input
could be
123
123,124
123,125,125
1,2,3
1,12,123
Invalid would be
123,
,123
123 124 125
123abc
TIA!