Well, I see a couple of problems with what you're using.  First, you've 
not got a closing " on the attribute.  Second, you've wrapped a regex 
that contains a " in ""'s, which will error out if you don't escape the 
inner "'s.  You can wrap it with single quotes to fix that.  Also, the 
last * boggles me.  I don't know why it's there.

Or, try this:

'<#tag#.*?#att#="(.*?)".*?>'

where (should be obvious) tag and att are defined as the tag and 
attribute you want.  Please note that if you define them as "span" and 
"class" and you have this:
<span>stuff in between<span class="bob">
the "whole tag" match will return both span tags and the stuff in 
between.  The attribute match will return bob.  So, if this might be the 
case, lemme know and we'll tweak the regex.

Not tested, your miles may vary, trix are for kids, etc.

--Ben

Burns, John D wrote:
> 6.1.  I was looking at the archives and have come up with this but it's
> erroring....
> 
> I'm using the img instance because it's easier to test on pages that
> have multiple images...
> 
> #refindnocase("<img[^>]*src="([^"]*)*>",cfhttp.fileContent,0,true)# 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199710
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to