Regular Expressions 101

Library entries

Parse Clockify Duration Strings

Vote

0

Regular Expression
javascript

/
^PT(\d+H)?(\d+M)?(\d+S)?$
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago