Answers for "preg.match"

PHP
0

preg_match

if(!preg_match('/^\[a-zA-Z]+$/',$input)) {
   // String contains not allowed characters ...
}
Posted by: Guest on March-23-2020

Browse Popular Code Answers by Language