From\:\s[^\r\n]*?turkcell[^\r\n]*?\<(?![^()<>@,;:"\[\]\000-\040\x7F-\xFF]+\@(?:\w+\.)*?turkcell\.com)\>

Thomas



Von:    Katip <[email protected]>
An:     For Users of ASSP <[email protected]>
Datum:  27.03.2016 15:22
Betreff:        [Assp-user] [PossibleSpam] regex help



Hello,

need help to write a bombregex for From field. example:
From: "Turkcell Fatura" <[email protected]>

*Turkcell* in "name" part must match but *turkcell.com.tr* in actual 
address not.
i.e.

From: "blah.. Turkcell blah.." <anything@anydomainORsubdomain> must 
*match*
From: "blah.. Turkcell blah.." <[email protected]> must 
*pass*
From: "blah.. Turkcell blah.." <[email protected]> must *pass* too

what i tried:
From\:\s.*[Tt]urkcell.*\<(?!.*\@turkcell\.com).*\>
From\:\s.*[Tt]urkcell.*\<(?!.*\.turkcell\.com).*\>

both give correct results in various testers but ASSP matches all 3 
cases above.

TIA

Katip
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to