I want to get text from html file in java
My html file is:
html
vishal patel &l
vishal
I have used a library called JSoup. It's very simple to retrieve the text-only part from a HTML file. It's very simple:
Jsoup.parse(html).text();
gives you the text from the HTML file