Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-12-13 16:59
Flavor·ECMAScript (JavaScript)

/
^P((\d+([,\.]\d+)?Y)?(\d+([,\.]\d+)?M)?(\d+([,\.]\d+)?D)?(T(\d+([,\.]\d+)?H)?(\d+([,\.]\d+)?M)?(\d+([,\.]\d+)?S)?)?$)|(\d+([,\.]\d+)?W$)
/
gm
Open regex in editor

Description

no description available

Submitted by anonymous