Answers for "keep only alphabets in the string php"

PHP
0

php string only letters

$result = preg_replace("/[^a-zA-Z0-9]+/", "", $s);
Posted by: Guest on May-21-2020

Code answers related to "keep only alphabets in the string php"

Browse Popular Code Answers by Language