Regular Expressions 101

Library entries

Simple Username Pattern

Vote

-2

Regular Expression
pcre

/
^[a-zA-Z0-9]+[._]?[a-zA-Z0-9]+$
/
g

Description

Loading markdown...
Submitted by Saeed Tabrizi - 6 years ago