Regular Expressions 101

Community Patterns

Community Library Entry

0

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

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

Description

no description available

Submitted by anonymous