Retrieving HTML tags independent content string
I am getting some content value using content reader in java. And i am getting the content value along with html tags appended to it. Can any one please suggest me a way to remove all html tags and to get just the rest string. For example: if a content value i am getting as "Test" which is appended with some html tags say p tag or ul tag etc., i want to get only "Test" from it. There may be other html tags even appended to it which is limitless.