Here you can find the source of removeHTMLTags(final String text)
public static final String removeHTMLTags(final String text)
//package com.java2s; //License from project: Open Source License import org.jsoup.Jsoup; public class Main { public static final String removeHTMLTags(final String text) { return Jsoup.parse(text).body().text(); }// w w w . ja v a 2 s . c o m }