Discourse username rules

The rules that apply to usernames here are as follows:

Minimum length: 3 characters
Maximum length: 15 characters
Must begin with a letter or number
All other characters can be a letter, number or underscore

Overall regex: ^(?!_)\w{3,15}$

1 Like

Will this get most of the current vB usernames?

*glad to see it won’t include the “weird” control-character usernames that vB allowed

It will exclude tens of thousands, but I’m drafting a launch post telling people how to deal with the different use cases, hence this post.

UTF-8 supported? Can a user sign up with a non ASCII name?

We essentially use the Twitter username rules, which are outlined here.

1 Like