Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^GMT[+-]((0?[0-9]|1[0-1]):([0-5][0-9])|12:00)$
/
gm

Description

GMT Time zone regex

Submitted by Ashish Ambre - 3 years ago