Create a Regular Expression for use in catching spam
$30-250 USD
Closed
Posted about 11 years ago
$30-250 USD
Paid on delivery
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='[login to view URL]") 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):
[login to view URL] (both have http[s] and the domains do not match)
https:[login to view URL] (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:[login to view URL] (Domains match)