Regular Expressions 101

Community Patterns

GMT Timezone

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 - 2 years ago