Remove defined HTML tags including content from a string with PHP
Sep 22, 2022 · 2 min read · Recently, a friend asked me to send a script to remove pre tags from a string, including content. He uses a script to calculate the reading time for the content, but doesn't want the pre-tags to be included in the scoring. So if you ever have a simil...
Join discussion



