Regular Expressions 101

Community Patterns

Minecraft Username Matcher

1

Regular Expression
PCRE (PHP <7.3)

/
^[a-zA-Z0-9_]{2,16}$
/
mg

Description

Matches valid minecraft usernames, one per line

Submitted by anonymous - 8 years ago