<p>When using a regex, you need to take care to match the complete address.</p>
<p>Note that message texts are normalized when not using a regex, which means that all whitespaces (spaces, tabs, line breaks, etc) are replaced by a single space. This makes it easier to match texts on multiple lines or when the line break is at different places.</p>
<p>Since version 1.1996 it is possible to use <ahref="https://jsoup.org/cookbook/extracting-data/selector-syntax">Jsoup selectors</a> to match HTML elements, by prefixing the selector by <em>jsoup:</em> and entering it as text contains condition, like for example:</p>
<pre><code>html > body > div > a[href=https://example.org]</code></pre>
<pre><code>jsoup:html > body > div > a[href=https://example.org]</code></pre>
<p>You can use multiple rules, possibly with a <em>stop processing</em>, for an <em>or</em> or a <em>not</em> condition.</p>
<p>Matching is not case sensitive, unless you use <ahref="https://en.wikipedia.org/wiki/Regular_expression">regular expressions</a>. Please see <ahref="https://developer.android.com/reference/java/util/regex/Pattern">here</a> for the documentation of Java regular expressions. Note that you need to match the complete text from the first to the last character. You can test a regex <ahref="https://regexr.com/">here</a>.</p>
<p>Note that a regular expression supports an <em>or</em> operator, so if you want to match multiple senders, you can do this:</p>
<p><strong>Important</strong>: permanent deletion is <strong>irreversible</strong>. Instead, consider to move messages to the trash folder and to set up auto deletion for the trash folder in the folder properties (long press the folder in the folder list of an account).</p>
<p>If you want to forward a message, consider to use a <em>move</em> action instead. This will be more reliable than forwarding because forwarded messages might be considered as spam.</p>
<p><br></p>
<p>It is possible to use a <ahref="https://jsoup.org/cookbook/extracting-data/selector-syntax">Jsoup selector</a> to select the text for notes, for example:</p>
<p>A <em>move</em> action can optionally create subfolders (since version 1.1966) to move messages to, for which you can use the following placeholders:</p>