Regex
Various regex resources that I have found useful
Websites
Samples
1
// Duration Timestamp check. 00:00 to 999:999
2
// Increase 8 to larger number to check for longer timestamps.
3
const isDurationTimestamp = /^([0-9:]{5,8})$/.test(`00:01`)
Copied!
Last modified 8mo ago
Copy link