About Me

My photo
Drum & Bass Producer, Software Developer, Love my Cats

How to remove HTML tags from a String

I am working a lot lately with parsing HTML, and needed a fast JAVA function for cleaning HTML tags. Found it on Dzone.

clean = html.replaceAll("\\<.*?\\>", "");