-
How to remove html special chars?tmp 2023. 4. 5. 09:29
https://stackoverflow.com/questions/657643/how-to-remove-html-special-chars
How to remove html special chars?
I am creating a RSS feed file for my application in which I want to remove HTML tags, which is done by strip_tags. But strip_tags is not removing HTML special code chars: & &am...
stackoverflow.com
$Content = preg_replace("/&#?[a-z0-9]{2,8};/i","",$Content);
'tmp' 카테고리의 다른 글
ppt 자동으로 만들어 주는 곳 (0) 2023.04.17 네아로 (네이버 아이디로 로그인) PHP 연동 (0) 2023.04.05 php에서 문자열에 있는 특수기호, 알파벳, 숫자 등을 골라서 치환 (0) 2023.04.03 개발에 특화된 대화형 AI (0) 2023.04.03 [php] json_encode 옵션들과 사용법 (0) 2023.03.29