The simplest way would be like this: href="([^"]*)" So it'll match anything within the href value that is not a double-quote.
Likewise for the src section. Peter On 22/09/05, Shawn Cannon <[EMAIL PROTECTED]> wrote: > I need help writing some RegEx code to help detect imbedded GIF files that a > spammer typically used. You know the kind I am talking about: ads for > Viagra or software that are actually GIF files and then some lines of random > text at the bottom. The source HTML in the message has this as common in > each message: > > <DIV><A href="http://tmzihtzlzhhgbttkhwtmybbt.pungergjbg.com/"><IMG alt="" > hspace=0 > src="cid:[email protected]" align=baseline > border=0></A><BR><BR> > > The http:// is random each fime as well as src="cid: section. How can I > write a RegEx pattern to look for the above info while taking into account > that the http and cid section are different while the rest remains static? > > Thanks for any help! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Protect Your PC from viruses, hackers, spam and more. Buy PC-cillin with Easy Installation & Support http://www.houseoffusion.com/banners/view.cfm?bannerid=61 Message: http://www.houseoffusion.com/lists.cfm/link=i:21:927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
