Feel free to download cf4em (http://cf4em.com) and use whatever you can or
want from the BBML parser. You will find it in /inc/parsebbml.cfm

It can turn http://exampleurl.com into <a href="http://exampleurl.com";
title=" http://exampleurl.com " target="_blank"> http://exampleurl.com </a>
It can do the same for email addresses
It can turn [url=http://exampleurl.com] Link Text [/url] into <a
href="http://exampleurl.com"; title="Link Text" target="_blank">Link Text</a>
.... and tons more

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com


-----Original Message-----
From: Phillip Vector [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 28, 2008 11:56 AM
To: CF-Talk
Subject: Selecting text between text

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:306199
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to