how to remove all html tags from a string in java code example
Example: java replace all html tags
public static String html2text(String html) {
return Jsoup.parse(html).text();
}
public static String html2text(String html) {
return Jsoup.parse(html).text();
}