Here you go: http://barneyb.com/r/image_src.cfm
I'm even wearing my "i know regular expressions" shirt today. ;) cheers, barneyb On Thu, Apr 16, 2009 at 12:29 PM, Che Vilnonis <ch...@asitv.com> wrote: > > Any takers? I'm looking to get a RegEx to find the image URL from some HTML. > Basically, find the image url from any variation of the <img> tag, > regardless of what attributes are included besides the "src=" attribute. > > Variations of the code I'm dealing with might be: > <img src="http://www.mydomain.com/images/test123.jpg" border="0"> > <img border="0" src="http://www.mydomain.com/images/test123.jpg"> > <img width="100" height="100" > src="http://www.mydomain.com/images/test123.jpg"> > <img width="100" height="100" > src="http://www.mydomain.com/images/test123.jpg" border="1"> > <img alt="" border="0" src="http://www.mydomain.com/images/test123.jpg"> > > > 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;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321698 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4