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

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -