Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-04-25 14:15
Flavor·PCRE (Legacy)

/
^P(?:(?P<years>[0-9\.]+)Y)?(?:(?P<months>[0-9\.]+)M)?(?:(?P<days>[0-9\.]+)D)?(?P<time>T(?:(?P<hours>[0-9\.]+)H)?(?:(?P<minutes>[0-9\.]+)M)?(?:(?P<seconds>[0-9\.]+)S)?)?$
/
gm
Open regex in editor

Description

no description available

Submitted by Jem North