Validate Password with Number
When I create a registration page. How do I validate the password field to have to include at least 8 characters and 1 must be a number?
I tried using a Regular Expression using this value (?=.*\d)(?=.*[a-z])(?=.*[A-Z])\w{6,} But I kept getting this error message.
Warning: preg_match() [function.preg-match]: Unknown modifier '(' in /home/content/01/3827501/html/storydom/webassist/form_validations/wavt_scripts_php.php on line 557
Warning: Cannot modify header information - headers already sent by (output started at /home/content/01/3827501/html/storydom/webassist/form_validations/wavt_scripts_php.php:557) in /home/content/01/3827501/html/storydom/webassist/form_validations/wavt_scripts_php.php on line 84