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

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -