How do I properly use regex for header contains inbox rule #4145
-
I am using Firefox relay, so first of all I added relay email to 'not spam' rule. Next thing I want to do is add inbox rule with header contains, the reason I choose it because most of the emails will be coming from Firefox relay, the only way to differentiate between email sources is to check headers I believe, because from section includes something like: ""[email protected] [via Relay]"" [email protected] If I select From/Sender as field option in inbox rules that only accepts a valid email which it wouldn't be suitable for my case. So I tried: Value: Target folder: but this doesn't work, so I tried it with regex in value field like: /From: ""[email protected] [via Relay]""/ this also didn't work. So what is the correct way to implement what I want to achieve? Also attaching part of the headers of an example email from Firefox relay below. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, probably a lot of characters (incl. dots and square brackets) don't do what you expect. Please check https://regex101.com/ with Javascript syntax |
Beta Was this translation helpful? Give feedback.
Hi, probably a lot of characters (incl. dots and square brackets) don't do what you expect. Please check https://regex101.com/ with Javascript syntax