DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+6 =
Submit