Demo
Username: AlphaNumeric (Letters or Numbers), Underscore and must contain 3 to 10 characters in JavaScript