<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 16 Oct 2018, at 13:10, David Shepherdson wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">On 16 Oct 2018, at 21.07, Max Rydahl Andersen wrote:</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">Is there a way via the address pattern to state .*@example.com is good, except <a href="mailto:dad@example.com" style="color:#999">dad@example.com</a> and <a href="mailto:wife@example.com" style="color:#999">wife@example.com</a> ?</p>
</blockquote>
<p dir="auto">If you can describe it with a regular expression, then you can put it in. For example, you might be able to do something along the lines of:</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">.*(?<!dad|wife)@example\.com
</code></pre>
</blockquote>
<p dir="auto">For people not used to regular expressions, this uses so-called negative lookbehind (if you want to google it). It is also possible to use negative lookahead:</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">(?!(dad|wife)@).*@example\.com
</code></pre>
<p dir="auto">That is (perhaps) a bit easier to read in this case. (I have not tested it.)</p>
<p dir="auto">-- <br>
Benny<br>
<a href="https://freron.com/become_a_mailmate_patron/" style="color:#3983C4">https://freron.com/become_a_mailmate_patron/</a></p>
</div>
</div>
</body>
</html>