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.
solved Regex to select seconds from time string (all times not in the same format) without lookbehind