I have some text
I01:00:00:05
I01:00:00:04
I01:00:00:03
I01:00:00:02
I01:00:00:01
Is there a regex that will find each one?
I tried:
var locs = txt.match(/(([A-Z]\d\d\:\d\d\:\d\d\:\d\d)+)+/);
And it finds 5 copies of the first pattern that matches.
Is there a way to get an array with each of them in it?
Thanks
/gflag, as noted by the answers below.