Regular Expressions 101

Library entries

Forecast.io API's required ISO 8601 datetime

Vote

1

Regular Expression
pcre

/
^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2})(Z|[\+-]\d{2}:?\d{2})?$
/
gm

Description

Loading markdown...
Submitted by Clifford Paulick - 6 years ago