Notes
Website
Twitter
Sponsor
Search…
Welcome
All
Programming Languages
Bash
JS and Node.js
Regex
Python
GitHub
Browsers
Blogs
TensorFlow
Nginx + Docker + Let'sEncrypt on Ubuntu
Google Cloud
Docker and Kubernetes
Another way to put it
Databases
Help me!
Website Testing Tools
Design Resources
Practices for debugging
Byte Bites
Speaking and writing Tips
Social
Books
Activities
Explore
Trusted Services
Powered By
GitBook
Regex
Various regex resources that I have found useful
Websites
RegExr
RegExp Test
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!
Previous
JS and Node.js
Next
Python
Last modified
1yr ago
Copy link