Answers for "preg_match for pw 1"

0

preg_match for pw 1

"^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$"
Posted by: Guest on July-09-2021
0

preg_match for pw 1

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

   preg_match($pattern,$password);
Posted by: Guest on July-09-2021

Browse Popular Code Answers by Language