I want a regular expression for the username in asp.net/c#, where the username must be at least 6 and at most 15 characters. Alphanumeric characters are allowed. special characters ._ allowed. Without spaces. The start character must be an alphabet.
I want a regular expression for the password, where the conditions are exactly the same as above, but with the only difference that the initial character must be either alphanumeric or special characters.
source
share