Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Strip out HTML tags?

Posted on 2007-11-21
2
1,213 Views
Last Modified: 2013-12-24
Isn't there a CF tag I can use that will strip out html tags on a variable?

I have a variable I'm getting back like so....<icon>35</icon> that I need to clear out the tags in order to display it correctly.

Thanks
0
Comment
Question by:brihol44
2 Comments
 
LVL 52

Accepted Solution

by:
_agx_ earned 250 total points
ID: 20330283
You might try one of the functions at cflib.org
StripHTML(string)
http://cflib.org/udf.cfm?ID=12
RemoveHTML(source)
http://cflib.org/udf.cfm?ID=1677
0
 

Author Closing Comment

by:brihol44
ID: 31427342
Thanks agx! I was looking for something like that.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VPN Dedicated IP address question 7 45
How can I install php on a ngxin server on droplet 5 142
CFFILE upload help 98 169
DNS @ Naked Domain Record 5 101
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question