Regular Expressions 101

Community Patterns

Roving Robot

1

Regular Expression
PCRE (PHP <7.3)

/
([+\-]*[1-9][0-9]?[0-9]?(ne|nw|se|sw|n|s|e|w|NE|NW|SE|SW|N|S|E|W|Ne|Nw|Se|Sw|nE|nW|sE|sW))*
/
i

Description

no description available

Submitted by Jono - 8 years ago