I'm looking for a regex to match repeating number sequences. The number/range itself could be any three digit number, for e.g. I want to match
345
346-348
234,235,236,237-239
234, 235, 236, 237-239
234,234, 236 and 237-239
234,234, 236 or 237-239
I don't want to match
3454
111-222-333
454,4567 (match only 454)
The number could be any three digit number. I tried different regexs with \d{3} in the mix, but I've not found anything that works. Appreciate any help on this.