Regular Expressions 101

Library entries

Validate PHP DateInterval Format

Vote

1

Regular Expression
pcre

/
(P([1-9]|[1-9][0-9])(W|D|M|H)|PT([1-9]|[1-9][0-9])H)
/

Description

Loading markdown...
Submitted by grambas - 5 years ago