diff --git a/src/utils/exporter.ts b/src/utils/exporter.ts index 2620a40f..4a55302a 100644 --- a/src/utils/exporter.ts +++ b/src/utils/exporter.ts @@ -30,7 +30,7 @@ export function importTimes(data: string, videoDuration: number): SponsorTime[] if (match) { const startTime = GenericUtils.getFormattedTimeToSeconds(match[0]); if (startTime) { - const specialCharsMatcher = /^(?:\s+seconds?)?[:()-\s]*|(?:\s+at)?[:()-\s]+$/g + const specialCharsMatcher = /^(?:\s+seconds?)?[-:()\s]*|(?:\s+at)?[-:()\s]+$/g const titleLeft = line.split(match[0])[0].replace(specialCharsMatcher, ""); let titleRight = null; const split2 = line.split(match[1] || match[0]);