Create a Regular Expression for use in catching spam

CLOSED
Bids
2
Avg Bid (USD)
$55
Project Budget (USD)
$30 - $250

Project Description:
Write a Regular Expression that will be used in Postini to help filter spam email.
The Regular Expression should match if the domain in the html anchor link ("<a href='http://domain.xxx") does not match the link text link displayed.
* Case should not matter.
* Both link and text nned to have http[s]://
* <a tag may have either single or double quotes.
* Https and http should be interchangeable.
* either html or display links may have sub domains or parms.

Example Matches (Is Spam):
http://bankofamerica.com?account=23112 (both have http[s] and the domains do not match)
https:ebay.com (both have http[s] and the domains do not match)

Exmaple of non matches (passes Spam)
Click here to get screwed (the display link doesn't have a http[s]://)
http:ebay.com (Domains match)

Additional Project Description:
01/11/2013 at 7:39 NZDT

See attached file since this form removes the html examples

Skills required:
Expression Engine
Additional Files: regex_sampls.txt
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 50
in 1 days
$ 60
in 1 days