Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php password validation preg_match

if(!preg_match('/^(?=.*d)(?=.*[A-Za-z])[0-9A-Za-z!@#$%]{8,12}$/', $password)) {
    echo 'the password does not meet the requirements!';
}
Comment

php password validation preg_match

preg_match('/^(?=.*d)(?=.*[@#-_$%^&+=§!?])(?=.*[a-z])(?=.*[A-Z])[0-9A-Za-z@#-_$%^&+=§!?]{8,20}$/',$password)
Comment

PREVIOUS NEXT
Code Example
Php :: php check whether the url is http or https 
Php :: change php version on mac 
Php :: php xml to array 
Php :: php extract time from datetime 
Php :: how to set ist in php 
Php :: php get referral 
Php :: php post self 
Php :: disable wordpress admin bar 
Php :: wp_redirect to home page 
Php :: laravel meilisearch flush 
Php :: hide php extension in url 
Php :: throwexception laravel 
Php :: Disable update notification for individual plugins 
Php :: order alphabetically wp php 
Php :: string contains php 
Php :: foreach empty laravel 
Php :: Error Call to undefined function CodeIgniterlocale_set_default() 
Php :: php convert degrees to radians 
Php :: php remove parentheses and contents from string 
Php :: php http build query 
Php :: init hook wordpress 
Php :: php compare string 
Php :: php mysql date 
Php :: how to use join query in codeigniter 
Php :: beautify var_dump 
Php :: drupal 8 get taxonomy terms by vocabulary name 
Php :: php mysql create table 
Php :: wordpress custom loop latest first 
Php :: php self 
Php :: get all pages list from specific template 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =