본문 바로가기

Web Progreming

[ 정규식 ] 특수문자 없애기

//echo preg_replace("/[ #\&\+\-%@=\/\\\:;,\.'\"\^`~\_|\!\?\*$#<>()\[\]\{\}]/i", "",  $string);