javaScript Regex для имен пользователей
var usernameRegex = /^[a-zA-Z0-9]+$/;
Defeated Duck
var usernameRegex = /^[a-zA-Z0-9]+$/;