>- see footer for list info -<
Cheers.

For those interested (or who stumble across this thread many moons from 
now) i managed to adapt it to work in CF by using

<img.+?src\s*=\s*([\#Chr(34)#']?)(.+?[\.jpg|\.gif\|\.png])([\#Chr(34)#']).*?>


Ta,

James

[EMAIL PROTECTED] wrote on 19/08/2005 12:18:56:

> >- see footer for list info -<
> hmm
> 
>  /<IMG.+?src\s*=\s*([\"']?)(.+?[\.jpg|\.gif\|\.png])([\"']).*?>/i;
> 
> that looks about right
> 
>  not sure what the equiv will be in CF tho
> 
> 
> [EMAIL PROTECTED] wrote:
> 
> >>- see footer for list info -<
> >> 
> >>
> >Sorry, CF please!
> >
> >Cheers
> >
> >James
> >
> >[EMAIL PROTECTED] wrote on 19/08/2005 11:51:13:
> >
> > 
> >
> >>>- see footer for list info -<
> >>> 
> >>>
> >>In Javascript or CF?
> >>
> >>
> >>[EMAIL PROTECTED] wrote:
> >>
> >> 
> >>
> >>>>- see footer for list info -<
> >>>>
> >>>>
> >>>> 
> >>>>
> >>>Hi folks.
> >>>
> >>>Im in dire need of a regex that will allow me to extract the "src" 
> >>>attribute of an img tag in a block of html code.
> >>>
> >>>All help appreciated.  Tried a few i found on the net but nothign 
that 
> >>>works.
> >>>
> >>>Cheers
> >>>
> >>>James
> >>>_______________________________________________
> >>>
> >>>For details on ALL mailing lists and for joining or leaving lists, go 

> >>> 
> >>>
> >to 
> > 
> >
> >>http://list.cfdeveloper.co.uk/mailman/listinfo
> >> 
> >>
> >>>--
> >>>CFDeveloper Sponsors:-
> >>>
> >>>
> >>> 
> >>>
> >>>>- Hosting provided by www.cfmxhosting.co.uk -<
> >>>>- Forum provided by www.fusetalk.com -<
> >>>>- DHTML Menus provided by www.APYCOM.com -<
> >>>>- Lists hosted by www.Gradwell.com -<
> >>>>- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
> >>>> 
> >>>>
> >help -<
> > 
> >
> >>>> 
> >>>>
> >>>
> >>>
> >>>
> >>> 
> >>>
> >>_______________________________________________
> >>
> >>For details on ALL mailing lists and for joining or leaving lists, go 
to 
> >> 
> >>
> >
> > 
> >
> >>http://list.cfdeveloper.co.uk/mailman/listinfo
> >>
> >>--
> >>CFDeveloper Sponsors:-
> >> 
> >>
> >>>- Hosting provided by www.cfmxhosting.co.uk -<
> >>>- Forum provided by www.fusetalk.com -<
> >>>- DHTML Menus provided by www.APYCOM.com -<
> >>>- Lists hosted by www.Gradwell.com -<
> >>>- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
help 
> >>> 
> >>>
> >-<
> >_______________________________________________
> >
> >For details on ALL mailing lists and for joining or leaving lists, go 
to 
> http://list.cfdeveloper.co.uk/mailman/listinfo
> >
> >--
> >CFDeveloper Sponsors:-
> > 
> >
> >>- Hosting provided by www.cfmxhosting.co.uk -<
> >>- Forum provided by www.fusetalk.com -<
> >>- DHTML Menus provided by www.APYCOM.com -<
> >>- Lists hosted by www.Gradwell.com -<
> >>- CFdeveloper is run by Russ Michaels, feel free to volunteer your 
help -<
> >> 
> >>
> >
> >
> >
> > 
> >
> 
> _______________________________________________
> 
> For details on ALL mailing lists and for joining or leaving lists, go to 

> http://list.cfdeveloper.co.uk/mailman/listinfo
> 
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help 
-<
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to