[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


Filtering out HTML tags before emailing...

Posted on 2004-10-27
Medium Priority
Last Modified: 2013-12-24
I have an email page that let's the user type into an HTML editor box instead of the regular textarea and it will write the underlying HTML and save it to a database.  The problem is that some people don't accept HTML emails and when the email is sent to them all the HTML tags show up along with the text.  Is there a good way to trim out all the HTML before I send the email?  I tried to use the  Replace() function but couldn't get it to work correctly.  Thanks for any help!
Question by:Ike23
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
  • 2
LVL 21

Accepted Solution

pinaldave earned 500 total points
ID: 12424852
Hi Ike23,
<CFSET mystring = REReplaceNoCase(mystring,"(<[^>]*>)","","ALL")>

LVL 21

Expert Comment

ID: 12425047
Hi Ike23,
Glad to help you.


Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
What You Need to Know when Searching for a Webhost Provider
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

650 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