Phillip - Well, for the first part of your question, the following regex will remove all the html from a string: <cfset blah = reReplaceNoCase(some_html,"</?[^>]*>","","all") />
Thanks! Ryan Phillip Vector wrote: > Just curious... I'm a bit confused on how to do this and figured > someone else may have an idea (if not the code). Sorry if this sounds > disjointed. I still have yet to get my coffee this morning. > > I have the following string... > > This is a <a href="http://www.foobar.com">Link</a> to foobar. > > I would like to pull out the HTML from this statement so that I have > > This is a Link to foobar. > > This will also allow me to make a forum widget that allows > > [url]http://www.foobar.com[/url] > > to change into > > <a href="http://www.foobar.com">Link</a> > > Any ideas how I can capture the text between the <>'s and/or the text > between the tags? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306181 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

