Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^\w{3,}([\s][\w]+)*$
/

Description

Names with only one spacing allowed in between words.

Submitted by Pavan Kataria - 9 years ago