Return to Snippet

Revision: 44976
at April 21, 2011 19:59 by nico65


Initial Code
preg_replace('/[^a-z0-9]/i', '_', $string)

Initial URL
http://ahsangill.wordpress.com/2009/12/15/php-remove-special-characters-from-a-string/

Initial Description

                                

Initial Title
special character remove from string (quick n dirty)

Initial Tags

                                

Initial Language
PHP