Regular Expressions 101

Community Patterns

Username Match

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(^[a-z][a-z0-9._]+[a-z0-9]+$)
/
gm

Description

Username check. started only [a-z] and stoped [a-z0-9]

Submitted by anonymous - 3 years ago