Answers for "password preg match for special characters in php"

PHP
1

php preg_match special characters

$string="sadw$"
  if(preg_match("/[\[^\'£$%^&*()}{@:\'#~?><>,;@\|\\\-=\-_+\-¬\`\]]/", $string)){
   //this string contain atleast one of these [^'£$%^&*()}{@:'#~?><>,;@|\-=-_+-¬`] characters
  }
Posted by: Guest on June-11-2021

Code answers related to "password preg match for special characters in php"

Browse Popular Code Answers by Language