Regular Expressions 101

Community Patterns

1...45678...902

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?=.*[a-zA-Z])[ a-zA-Z0-9_-]{2,11}$
/

Description

very nice helper

Submitted by fred - 10 years ago