Answers for "regular expression for strong password in php"

PHP
0

regex php password

^(?=\P{Ll}*\p{Ll})(?=\P{Lu}*\p{Lu})(?=\P{N}*\p{N})(?=[\p{L}\p{N}]*[^\p{L}\p{N}])[\s\S]{8,}$
Posted by: Guest on June-09-2021
0

regular expression for strong password in php

if(preg_match((?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$, $_POST['password']):

echo 'matched';

else:

echo 'not matched';

endif;
Posted by: Guest on September-03-2021

Code answers related to "regular expression for strong password in php"

Browse Popular Code Answers by Language