Don't forget to adjust it slightly to take account of leading whitespace
between the opening tag and img.

>> -----Original Message-----
>> From: Jerry Johnson [mailto:[EMAIL PROTECTED]
>> Sent: 29 July 2003 15:53
>> To: CF-Talk
>> Subject: Re: Attention Regex guru's
>> 
>> The previous response is much better (since I read your question
partly
>> wrong)
>> 
>> It only allows 0 or 1 quotes after src=  (mine allowed for more for
no
>> good reason)
>> It looks for the #imgfilename# string   (mine looked for an actual
>> filename set by imgfilename)
>> It doesn't bother finding the quotes after the src= (since it is not
>> important)
>> 
>> Jerry Johnson
>> 
>> >>> [EMAIL PROTECTED] 07/29/03 10:44AM >>>
>> <snip>
>> Jerry Johnson
>> 
>> 
>> >>> [EMAIL PROTECTED] 07/29/03 01:28PM >>>
>> I've come to the conclusion that ...I suck at Regular
axpressions.....
>> I've been trying to get a regex to match all instances of
>> 
>> start          somewhere in there           end
>> "<img="       "#imagefilename#"      ">"
>> 
>> since there can be width, height, alt, etc... I need everything that
>> starts
>> with "<img" and ends with ">" and has "#imagefilename#" name
inbetween.
>> Make
>> sense?
>> 
>> i figured id go with #imagefilename# rather than "src=#imgfilename#"
>> since
>> ive seen some with quotes and some without
>> 
>> 
>> any help greatly appreciated thanks
>> 
>> 
>> 
>> 
>> 
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to