 class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="regex.html">regex</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html">Regex</a></div><p class="paragraph">The regular expression that an <a href="../index.html">EmailAddress</a> should match.</p><p class="paragraph">The underlying pattern is <code class="lang-kotlin">^\S+@\S+\.\S+$</code>.</p><p class="paragraph">Here's the exp