Code: Select all
$match_result = array();
$password = "time123456789";
$result = preg_match('/^([a-zA-Z0-9]{8,32})$/i', $password, $match_result);
I would also like to have it so you can use special characters like (.~!@#$%^&*), whether they are all upper case or all lower case or mixed it don't matter.
Anyhelp?