Used in JS context to extract time from string metadata aka YouTube chapters. Trailing text and chars are ignored for each new line.