Regular Expressions 101

Community Patterns

Regex de Nome

1

Regular Expression
PCRE (PHP <7.3)

/
^(([a-zA--ùÀ-Ù]+)(\ )?){0,7}$
/
gm

Description

Aceita até 7 palavras, podendo conter acento, e com espaço entre elas

Submitted by anonymous - 4 years ago