Answers for "allow alphanumeric regex php"

PHP
1

is alphanumeric php

if(ctype_alnum($string)){
    // do something
}
Posted by: Guest on October-12-2021
0

php regex replace all non alphanumeric characters

preg_replace("/[^A-Za-z0-9 ]/", '', $string);
Posted by: Guest on July-30-2021

Browse Popular Code Answers by Language