regex - Regular expression for password validation in c# -


For password recognition, in C # in

  1. Need help with rezux;
  2. 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

Popular posts from this blog

winforms - C# Form - Property Change -

c# - NewtonSoft JArray - how to select multiple elements with LINQ -

javascript - amcharts makechart not working -