Often, especially when you copy text from WYSIWYG browser editors, the code is copied with tags you don’t need. In any way, if you’re working with text in PHP, you will often need to clean it from useless HTML code. Let’s see how can we do this. If yo need to clean the entire code, [...]