Sorry for posting late, but I think this may help others,
To just remove the html bands
Html.fromHtml(htmltext).toString()
Thus, the html tag will be replaced with a string, but the string will not be formatted properly. Therefore i did
Html.fromHtml(htmltext).toString().replaceAll("\n", "").trim()
Thus, I first replace the next line with a space and remove the empty space. Similarly, you can remove others.
yubaraj poudel Jul 07 '16 at 9:10 2016-07-07 09:10
source share