Regular Expressions 101

Library entries

0
javascript

test

test
Submitted by anonymous - 7 days ago

Match time HH:MM:SS or MM:SS similar to YT chapters

Vote

0

Regular Expression
javascript

/
(^(?:[01]\d|2[0-3]|[0-59]):[0-5]\d:[0-5]\d)|(^(?:[0-5]\d|2[123]|[0-59]):[0-5]\d)
/
gm

Description

Loading markdown...
Submitted by JVE - 2 months ago