public static String extractText ( String html ) { //return Jsoup.parse(text).text(); html = replaceImgWithAlt ( html ) ; html = safeRemoveAllTags ( html ) ; html = unescapeHtml ( html ) ; return html ; }
Extracts the text from an HTML page .