Posts by Álvaro Fonteles • 1 point
1 post
-
-3
votes3
answers6138
viewsA: Mount Regex to validate password
private string getRegex() { string regex = "^.*(?=.{" + this.TamanhoMinimo.ToString() + ","+this.TamanhoMaximo.ToString()+"})"; if (SenhaForte) { regex…