Mail Filter contains part - seperate by ","?

Discussion in 'General' started by RitariRane, Nov 1, 2021.

  1. RitariRane

    RitariRane New Member

    Is it possible to separate words on the mail filter - contains? "," doesn't seem to do it for me. So if subject contains "cat/dog/snake"? Do i have to create 3 different mail filters or can you separate them with ___?
    ### BEGIN FILTER_ID:127
    if header :regex ["subject"] [".*cat,dog,snake"] {
    fileinto "Junk";
    ### END FILTER_ID:127
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is this about subject containing cat OR dog OR snake? Then the regexp separator is |. There are regexp test websites, those are very useful to check regexp matches what it is supposed to match.
  3. RitariRane

    RitariRane New Member

    Thank you

Share This Page