Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^[A-Za-z-0-9\_][A-Za-z-0-9\-.\_]*$
/
gm

Description

Regex for accounts names without space

Submitted by anonymous - 3 years ago