Create a Regular Expression for use in catching spam

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)

See attached file since this form removes the html examples

Kemahiran: Expression Engine

Lihat lagi: regular expression or example, regular expression no, regular expression in c, regular expression example, regular expression c, regular expression a, regular expression 0, example of regular expression, c regular expression example, bankofamerica, use case, regular, Expression, create a ebay, regular expression help, regular create, match engine, filter https, exmaple, regular html, expression engine link, link ebay account, spam filter email, postini, nned

Tentang Majikan:
( 1 ulasan ) Washington, United States

ID Projek: #4115079

1 pekerja bebas membida secara purata $60 untuk pekerjaan ini


Hello, I have many years of writing regular expressions to do a wide variety of things, including spam detection. I can quickly provide you with one that meets your needs for a couple hours of work. Thanks for Lagi

$60 USD dalam sehari
(0 Ulasan)