As for user name, sticking to strings that match /^[-\w.]{4,10}$/ should suffice; that allows 4 to 10 characters that must all be alphanumeric, underscore, dash or period. (Adjust length constraints to suit your taste.)
In reply to Re: Regex usernames and Passwords
by graff
in thread Regex usernames and Passwords
by tanger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |