Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing HTML from text field 2

Status
Not open for further replies.

CPK6104

IS-IT--Management
Dec 19, 2007
57
US
For whatever reason, sometimes HTML is contained in a text field and displayed in my report. I can use the "replace" command when there are only a few characters. But sometimes, there are way too many characters.

Here is a sample: <a>good text here and here</span><font-family>more good text<p>more good text here.

Is there a way to evaluate all the text and remove all instances where a string is contained within <>? Thank you.
 
Rather than removing the text you could just format the field to interpret the HTML text.
Right-click on the field and choose "Format Field".
On the "Paragraph" tab of the Format Editor, select HTML from the "Text Interpretation" drop-down.

Bob Suruncle
 
That works beautifully. Thank you so much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top