Disallow username spaces

Brogan

XenForo moderator
Staff member
You can do that in Options -> User Registration: User Name Match Regular Expression

Try using this ^[^\s]+$
 

Brogan

XenForo moderator
Staff member
This is from Google so I can't vouch for it: /^[a-zA-Z][\sa-zA-Z]*$/

Regex is all a bit voodoo to me :D
 
Top