regex - Repeat group to match multiple occurrences -
// example here: https://regex101.com/r/7kjjcr/3
i try match strings of type ([0-9]):(([0-9]+)-([0-9]+))+
whereas second group should repeatable, string 25:12-54,213-512,1231-2344
gets matched , group in (25, 12, 54, 213, 512, 1231, 2344) , string 25:12-34
should processed same way.
i appreciate ideas!
Comments
Post a Comment