I am developing a login form with a username and password. I want users to create usernames in a specific format. So I'm using RegularExpressionValidator for the username, what is validation expression for this format.
format:
xyz \\ t4z4567 (characters are not case-sensitive)
Rules:
Please provide me the solution.
Try this regular expression: "[a-zA-Z] {3} Based on your edit, it should be correct: \ d [a-zA-Z] \ d [a-zA-Z] \ d {4} "
P>
"xyz \\\\ [a-zA-Z] \ d [a-zA] -jb] \ d {4}"
this expression Believing the specific order of letters and numbers given in your example. If the last 6 digits can be all letters or digits, then this expression should be sufficient:
"xyz \\\\ w {6}"
Comments
Post a Comment