Discourse username rules

documentation
#1

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
My display name
#2

Will this get most of the current vB usernames?

*glad to see it won't include the "weird" control-character usernames that vB allowed

#3

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.

#4

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

#5

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

1 Like