Regex

Various regex resources that I have found useful

Websites

Samples

// Duration Timestamp check. 00:00 to 999:999
// Increase 8 to larger number to check for longer timestamps.
const isDurationTimestamp = /^([0-9:]{5,8})$/.test(`00:01`)