Jun-25-2019, 02:27 AM
I tend to avoid look aheads/behinds in regexes. I think you could do just as well with non-digit matching (\D) outside of your main group. Then match 1 to 3 digits, followed by zero or more instances of a comma and three digits.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures