Try REReplaceNoCase( string, "</?[^>]*>", "", "all" )

Ade

-----Original Message-----
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: 04 June 2003 15:29
To: CF-Talk
Subject: RegEx - Removing HTML Tags from String


Is it possible to remove everything between a < and > in a string?

Original String =  This is <font color="red">Day</font> and not yours!

Output String =  This is my Day and not yours!

Is this possible in a regular expression or do I need to write the CF code
to strip things out?

Thanks in advance!

Paul Giesenhagen
QuillDesign



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to