In a sea of data, I need to pull the first image tag. It looks like this...
<img
src="http://images.craigslist.org/01010001150701030720071219cd6f3ea36b5b712d
2f00d0d9.jpg">

I am using...
<cfset imageLink = REReplaceNoCase(cfhttp.fileContent,
"<img[^>]+([a-z0-9_]\.(?:jpg|jpeg|gif|png))[^>]*>", "", "ONE")>

But it does not work. Can anyone help? Thanks, Che


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295205
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