Hai everybody,
the string
$password = $request->getParameter('password');
Contains at least 8 characters.
Contains upper and lower case letters.
Contains numbers or other non-alphabetic characters.
What could be the reg ex for the above criteria?
I am creating a check for stronger password .
something like:
if (len(password) >= 8 &&
contains_lower(password) &&
contains_upper(password) &&
contains_number(password)) {
...
}
plz help me.