I need a snippet of code which will take a string, and strip out ALL the html (and) css from the string. The string is always different for each line item, as it contains a description of a product, and users always use a different description and method of entry.
The punctuation should always remain as is, unaffected, but as stated, the garble of html and css must be removed.
This snippet is for a PHP Script and a routine (or a function) is what im looking to receive. If you have any questions, feel free to ask!