X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Is it possible to use regular expressions when creating an email filter?

Kuphostiwe

I want to move to the folder all the letters for which the header has a certain format. For example:

The regular expression for these headers will be:

  • \[(.*)\](.*)
  • \[(.*)(example\.com|example\.net)\](.*)

The second option will exclude the movement of some letters that do not match the regular expression.

I want to move to the folder all the letters for which the header has a certain format. For example: * [promo.example.com] My first message * [example.com] My second message * [foo.example.net] Third message * [bar.foo.com] Foo bar baz The regular expression for these headers will be: * \[(.*)\](.*) * \[(.*)(example\.com|example\.net)\](.*) The second option will exclude the movement of some letters that do not match the regular expression.

Okulungisiwe ngu Andrey Helldar

Isicaphuno

Eminye Imininingwane Yohlelo

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36

Eminye Imininingwane

Umnikazi wombuzo

For some reason, there is no line break in the question ...

And regex:

  • \[(.*)\](.*)
  • \[(.*)(example\.com|example\.net)\](.*)
For some reason, there is no line break in the question ... * [promo.example.com] My first message * [example.com] My second message * [foo.example.net] Third message * [bar.foo.com] Foo bar baz And regex: * \[(.*)\](.*) * \[(.*)(example\.com|example\.net)\](.*)
Ingabe lokhu kube usizo kuwena?
Isicaphuno
sfhowes
  • Top 10 Contributor
1686 izisombululo 8187 izimpendulo
Kuphostiwe

The FiltaQuilla add-on (for TB 60 and lower) allows regex for searches, but not for filter actions. I'm not aware of any way to apply regex to message filters in TB 68. See if you can accomplish the same result using e.g. From contains example.com, or possibly create filters for custom headers.

The [https://addons.thunderbird.net/en-US/thunderbird/addon/filtaquilla/ FiltaQuilla] add-on (for TB 60 and lower) allows regex for searches, but not for filter actions. I'm not aware of any way to apply regex to message filters in TB 68. See if you can accomplish the same result using e.g. From contains example.com, or possibly create filters for custom headers.
Ingabe lokhu kube usizo kuwena? 0
Isicaphuno

Umnikazi wombuzo

This extension is not compatible with the installed version. I am using 68.2.1, and the extension works with version 60 and below.

This extension is not compatible with the installed version. I am using 68.2.1, and the extension works with version 60 and below.
Ingabe lokhu kube usizo kuwena?
Isicaphuno

Umnikazi wombuzo

Now this rule works for me (see screenshot)

Now this rule works for me (see screenshot)
Ingabe lokhu kube usizo kuwena?
Isicaphuno
Buza umbuzo

Kufanele ulogele ukungena ku-akhawunti yakho ukuze uphendule amaphosti. Uyacelwauqale umbuzo omusha, uma ungekabi nayo i-akhawunti namanje.