Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(?:[[:alpha:]]|[ \-\'])+$
/
gmui

Description

Match most European human names.

Submitted by Alexander Stepanov - 8 years ago