Regular Expressions 101

Community Patterns

what3words

1

Regular Expression
PCRE (PHP <7.3)

/
^\p{L}+\.\p{L}+\.\p{L}+$
/
u

Description

This pattern check three words with a dot separator betwwern words. It use unicode; It is not yest compatible with javascript

Submitted by tsamaya - 9 years ago