How to remove HTML tag in Java [duplicate]

There is JSoup which is a java library made for HTML manipulation. Look at the clean() method and the WhiteList object. Easy to use solution!

Leave a Comment