How to convert text entered in rich text editor control to plain text.
I am having a Rich text editor control in a screen where user will enter some comments and click on submit.Then the comments should get save to a DB table.
can anybody help me on the below:
The text entered by user is having html tags because the control is rich text editor but I want to have plain text only from it and save in DB table. So, how to convert rich text format(contains html tags) to plain text.
Thanks in Advance.
***Updated by moderator: Lochan to close post*** This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
We also have the same requirement. If we use the filter rich text function only few tags are getting removed. Most of the tags like <span>, <font>, <p> are not getting removed. Could you please suggest any other solution