Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php regex replace all non alphanumeric characters

preg_replace("/[^A-Za-z0-9 ]/", '', $string);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #regex #replace #alphanumeric #characters
ADD COMMENT
Topic
Name
2+6 =