Regular Expressions 101

Library entries

freeCodeCamp: Restrict Possible Usernames

Vote

-1

Regular Expression
pcre

/
^[a-z]{2}([a-z]+)?(\d+)?$
/
gi

Description

Loading markdown...
Submitted by anonymous - 4 years ago