Foren

Remove all html tags including <p> <li> and all from string

thumbnail
Anita Sahoo, geändert vor 10 Jahren.

Remove all html tags including <p> <li> and all from string

New Member Beiträge: 13 Beitrittsdatum: 17.09.13 Neueste Beiträge
Hi all,
I am retrieving text from Liferay fck editor in java
I need to remove all the html tags from that code.
I tried HtmlUtil.escape but it does not removes <p> and <li> and many other
i need to remove all can anybody plz help me
Thanks in advance.
thumbnail
Anita Sahoo, geändert vor 10 Jahren.

RE: Remove all html tags including <p> <li> and all from string

New Member Beiträge: 13 Beitrittsdatum: 17.09.13 Neueste Beiträge
I solved it by using
message.setHTMLFormat(true);
Now its working emoticon