Regex Advice

2008-03-03 Thread Nate Willard
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.call.liveleak.60x45.jpg instead of:

RE: Regex Advice

2008-03-03 Thread William Seiter
- 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

RE: Regex Advice

2008-03-03 Thread Nate Willard
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

RE: Regex Advice

2008-03-03 Thread Bobby Hartsfield
rereplace(img, '.*?(img).*?(src=)(.*?)(.*)', '\3') ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: Regex Advice

2008-03-03 Thread Claude Schneegans
I'm using the following URL and working to obtain all the image absolute paths: May be you should have a look at CF_REextract : http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm It will save you lots of coding, and could even CFHTTP the file for you. --

RE: Regex Advice

2008-03-03 Thread Nate Willard
Thanks Bobby your code appears to be working perfectly. Bobby Hartsfield [EMAIL PROTECTED] wrote: rereplace(img, '.*?( :.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Adobe® ColdFusion® 8 software 8

Re: Regex Advice

2008-03-03 Thread Nate Willard
I'd never heard of CF_REextract. Thanks for bring this up Claude Schneegans [EMAIL PROTECTED] wrote: I'm using the following URL and working to obtain all the image absolute paths: May be you should have a look at CF_REextract :

Re: Regex Advice

2008-03-03 Thread Claude Schneegans
I'd never heard of CF_REextract. You should visit us more often ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.