react hook form password validation uppercase

Solutions on MaxInterview for react hook form password validation uppercase by the best coders in the world

showing results for - "react hook form password validation uppercase"
Roberta
02 Jul 2017
1function checkPassword(str)
2{
3    var re = /^(?=.*\d)(?=.*[!@#$%^&*])(?=.*[a-z])(?=.*[A-Z]).{8,}$/;
4    return re.test(str);
5}
similar questions