Skip to main content

Retrieving HTML tags independent content string

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2014-05-26

Hi ,
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.