Regular Expressions 101

Community Patterns

Words with only one spacing

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 - 8 years ago