www.houseoffusion.com/downloads/pop.txt I'll have the HTML tag search feature in soon. The way Id do it is have a statement with something like (A|BR|HR|....) and any tag that does not start with one of those or the slash version of it is invalid and 'ups' the spam score.
> >> I can use some help. I need a RegEx to determine if there are > >> three or more invalid HTML tags on a page. > > > First define what you mean by invalid HTML tags. Open tags > > without closing tags? Tags without a closing bracket? tags > > that are not part of the HTML syntax? > > I suppose I should have been more precise. What I am trying to do is extract > email messages from a POP account for archiving and throw away those that > are obviously spam. The main trick I see in the spam it gets is to scatter > non-html tags throughout the text like so: > > Ma<WS>k<QW>e Mo<!Vs>ne<De!>y No<sd>w > > When displayed in an HTML reader it says "Make Money Now" but I can't really > filter on the phrase. The logic I was looking for was if the there are more > than three pseudo tags on in a page that do not conform to HTML tags then > it's spam. The three count is to account for messages where people put > emotion tags in messages like this: <smile> > > > > Best regards, > > Dennis Powers > UXB Internet - A Web Design and Hosting Company > tel: (203)879-2844 fax: (203)879-6254 > http://www.uxbinternet.com/ > http://dennis.uxb.net/ > > > > > ===================================================================== > This e-mail message has been scanned for Viruses by the UXB Internet > email gateway system and the Kaspersky Labs antivirus scanning engine > ===================================================================== > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

