Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^[\p{L}\p{Mn}\p{Pd}\'\x{2019}]+(\s[\p{L}\p{Mn}\p{Pd}\'\x{2019}]+)+$
/
gm

Description

regex detect name unicode

Submitted by hao.nguyen - 2 years ago