Regular Expressions 101

Community Patterns

French compass direction abbrevation patern

1

Regular Expression
PCRE (PHP <7.3)

/
^[NEOS]{1,3}$
/
gm

Description

French compass direction abbrevation patern with cardinal, ordinal and half-wind

Submitted by anonymous - 5 years ago