[ad_1]
The regex /\d\d:\d\d(:\d\d)/g selects 01:01:00 and would capture :00, this applies to all situations accept 01-01-01 01:01, ignore me please which is ignored.
[ad_2]
solved Regex to select seconds from time string (all times not in the same format) without lookbehind