Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

HTML to plain text conversion

$
0
0
I have what looks like HTML within an XML document field <JobDescription>. See INPUT below. What I need to do is remove the html tags and create text as shown in OUTPUT.

How, short of removing each html tag?

Thanks in advance for any help.



INPUT


<JobDescription>

<![CDATA[<br />This position may be located anywhere throughout the US<br /><br />The <b>Consultant</b>is a key role in planning, executing and delivering on the Operational Improvement Programs. .<br />]]>
</JobDescription>

OUTPUT



This position may be located anywhere throughout the US


The Consultant is a key role in planning, executing and delivering on the Operational Improvement Programs.

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>