How to extract plain text from HTML [message #1727650] |
Thu, 24 March 2016 19:07 |
Norm Merrill Messages: 9 Registered: September 2014 |
Junior Member |
|
|
Basic Problem:
I have a field in my report for notes. The database field is CLOB and it includes the text along with all of the HTML tags. I currently use dynamic text and display the HTML but as users format the text with larger font size, color, bold, breaks, etc...this takes up too much space. I would like the report to only show just the plain text as the report does not need to show special formatting.
Example:
<p><font face="sans-serif" size="3">This is a general note for PO :PONUM from :USER.</font></p><p><font face="sans-serif" size="3">Note below:<br />This is a note. <br /><br /></font></p><div><font face="sans-serif" size="3"></............
I would like to extract just "This is a note."
Any suggestions on how to achieve this?
Thanks in advance.
Norm
|
|
|
Powered by
FUDForum. Page generated in 0.03435 seconds