top of page

I wanted to create a password contains at least eight characters, including at least one number and

Yazarın fotoğrafı: ANIL FIRAT
ANIL FIRAT
30 Ara 2019
1 dakikada okunur

While I was coding a Java class to check a password contains at least eight characters, including at least one number and includes both lower and uppercase letters and special characters I searched online and found that validation expression.

(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$”





 
 
 

Yorumlar


©2019, Founded by CodeWithAnil

bottom of page