Regular Expressions 101

Community Patterns

german locale regex

0

Regular Expression
PCRE2 (PHP >=7.3)

/
de([\-_][A-Z]{2})*\Z
/
gm

Description

Matches locales with german language

Submitted by anonymous - 2 years ago