regex - Regular expression for password validation in c# -
For password recognition, in C # in
- Need help with rezux;
- At least one digit, lower case and one upper case
I'm tired:
var rule = new Regex ("^ (? =. [Az]) (? =. * [AG]) (? =. * [0- 9]) $");
but it does not work: (
before you Letterhead and you also need to add . *
to add zero after all the LookIahad, because it claims zero width, it will not match any character, but only it tells Whether a match is possible or not.
var Rules = New Reggae (@ "^ (? =. {8,16} $) (? =? *? [Az]) (? =. *? [AZ]) (? =. *? [0- 9]). * $ ");
Comments
Post a Comment