Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^[a-z\p{L}'\- ]{2,50}
/
gm

Description

Allowing all firsnames written with Latin text like Björn or D'Mariüsz

Submitted by ali benabdelaziz - a month ago