Skip to Content
Former Member
Sep 27, 2010 at 02:41 AM

Can plain text be extractted from Formatted Text Edit?


Hi Experts,

Formatted Text Edit's content is comprised of plain text and tag, for example:

<h3>Hello World!</h3> <p> This is the second line</p><h2>You are welcome!</h2>

I want to remove the tag and extract the plain text, the result should be:

Hello World!

This is the second line.

You are welcome!

How to achive that?

Use regular expression, Function Module, string operation or something else?

Any suggestion and solution are welcome,

Thank you very much.

Best Regards,