Preg Match For Pw 1

[Solved] Preg Match For Pw 1 | Php - Code Explorer | yomemimo.com
Question : preg_match for pw 1

Answered by : shy-sandpiper-7hmwf4a6tmuh

"^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$"

Source : https://stackoverflow.com/questions/19605150/regex-for-password-must-contain-at-least-eight-characters-at-least-one-number-a | Last Update : Fri, 16 Jul 21

Question : preg_match for pw 1

Answered by : shy-sandpiper-7hmwf4a6tmuh

 $pattern = ' ^.*(?=.{7,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$ '; preg_match($pattern,$password);

Source : https://stackoverflow.com/questions/5576160/checking-a-password-for-upper-lower-numbers-and-symbols | Last Update : Fri, 16 Jul 21

Answers related to preg match for pw 1

Code Explorer Popular Question For Php