The first thing I see is that you are only allowing for single-character 
names.  You don't have a + or * (+ would be better) after [a-z0-9_]. 
There may be more, but that's what I see at first glance.

--Ben Doom


Che Vilnonis wrote:
> 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[^>]+(\.(?: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:295208
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