Hi,
I am new to MVC and I am not sure how to do this.
I have a textbox for New password. the new password should include at least one number,
one Upper case letter, one lower case letter and one special character.
Thank you for helping me.
here's the code
[Required]
[StringLength(100, ErrorMessage = "The {0} must be at least {2} characters long.", MinimumLength = 6)]
[DataType(DataType.Password)]
[Display(Name = "New password")]
public string NewPassword { get; set; }