Simple but powerful PHP function to trim specific or all HTML tags from a string. Can also be used to trim any string, not just a HTML tag.
- trim (remove from end and beginning) substrings from a string
- intelligently trim HTML tags from a string (e.g. inputting "br" will trim all <br>, <br >, </br> <br /> etc.)
- trim multiple substrings/HTML tags at once
- trim ALL HTML tags
?