|
From: Thomas E. <Tho...@th...> - 2016-03-28 10:12:31
|
From\:\s[^\r\n]*?turkcell[^\r\n]*?\<(?![^()<>@,;:"\[\]\000-\040\x7F-\xFF]+\@(?:\w+\.)*?turkcell\.com)\> Thomas Von: Katip <ka...@ka...> An: For Users of ASSP <ass...@li...> 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" <tur...@ha...> *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.." <any...@an...> must *pass* From: "blah.. Turkcell blah.." <any...@tu...> 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 Ass...@li... 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! ******************************************************* |