Regular Expressions 101

Community Patterns

Accept AlphaNumeric and .'_- and middle spaces

1

Regular Expression
PCRE (PHP <7.3)

/
^[-_a-zA-Z0-9.']+(\s+[-_a-zA-Z0-9.'_-]+)*$
/

Description

no description available

Submitted by Uba - 8 years ago