Skip to main content
grep65535
New Member
December 11, 2019
Question

FortiMail - Custom dictionary regex pattern

How can I match multiple words in an "and" expression, e.g. "one" AND "two" AND "three"

...anywhere in the body of an email in any order spanning multiple lines/paragraphs.

 

Example meaningless text where not all targets are on the same line or in the same paragraph:

"

I have two apples with four birds and dog with three cats But one dog doesn't have three cats I have one three and 2 cats have two post-its with targets and one country

 "

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT