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

Reply via email to