본문 바로가기
실시간 영화감상

특수문자 없애는 정규표현식

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

 

댓글


Copyright ⓒ SmartWeb All rights reserved.