Create a Regular Expression for use in catching spam

  • Status Closed
  • Budget $30 - $250 USD
  • Total Bids 2

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='[url removed, login to view]") 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):

[url removed, login to view] (both have http[s] and the domains do not match)

https:[url removed, login to view] (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:[url removed, login to view] (Domains match)

Get free quotes for a project like this
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online