What is the original string that is being reviewed by the regex?

-- 
William E. Seiter
 
Have you ever read a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
 
Web Developer / ColdFusion Programmer
http://William.Seiter.com
-----Original Message-----
From: Nate Willard [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 03, 2008 4:43 PM
To: CF-Talk
Subject: Regex Advice

I'm using the following RegEx
            <cfset temp = reGET(images[i],"(""|')(.*)(gif|jpg|png)")>

The challenge I'm having is that it is returning: 
0 height=45 width=60
src=http://i.l.cnn.net/cnn/video/world/2008/03/03/vo.germany.plane.close.cal
l.liveleak.60x45.jpg

instead of:
http://i.l.cnn.net/cnn/video/world/2008/03/03/vo.germany.plane.close.call.li
veleak.60x45.jpg

Can anyone offer any suggestions on how I can revise the regex to return
soley the image?

Thanks!



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:300363
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