Try it out on these example inputs:

back to RegexSwap.

Typical username

Regular expression:

[a-zA-Z0-9_]{3,16}

Categories:

Popularity:

You need to be logged in to cast votes on regexes.

Good
0
Bad
0

Author description and comments (0)

Topic by
kasper

2009-01-05
22:25

Description

A regex for a typical username format. Here are the username requirements:
  • 3 to 16 characters
  • alphanumeric characters are accepted
  • underscore (_) is also accepted

You need to be logged in to participate

In order to post your own comments on this regex, you need to be logged in.

Username:

Log in by clicking the login link at the top of the screen