<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[What regex does FusionAuth use for email validation?]]></title><description><![CDATA[<p dir="auto">We are currently reviewing the email validation rules in our microservices and want to update our internal logic to match exactly what FusionAuth uses out-of-the-box. This will help us prevent any validation mismatches across our services.</p>
<p dir="auto">Could you help us confirm:</p>
<ol>
<li>What is the default regex or validation logic that FusionAuth uses natively for the <code>user.email</code> field?</li>
<li>If we decide to tweak our email validation rules down the road, can we fully override FusionAuth's default behavior by setting a custom validator under <strong>Customizations &gt; Form Fields</strong>?</li>
</ol>
<p dir="auto">I checked RFC 5322 (Internet Message Format), but couldn't find an exact regex defined there. I understand that email validation can vary depending on the use case, but we would like to use the same regex on our end to keep validation consistent.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/3151/what-regex-does-fusionauth-use-for-email-validation</link><generator>RSS for Node</generator><lastBuildDate>Tue, 29 Sep 2026 01:30:35 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/3151.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Sep 2026 06:21:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to What regex does FusionAuth use for email validation? on Mon, 28 Sep 2026 06:21:27 GMT]]></title><description><![CDATA[<p dir="auto">FusionAuth follows <strong>RFC 5322</strong> for standard email validation, which defines the local part as a <code>dot-atom</code>. However, FusionAuth does not expose a specific custom regex for email validation—it adheres to the RFC 5322 standard.</p>
<h2>Can you override or customize email validation?</h2>
<p dir="auto">Yes, but only partially through FusionAuth's built-in features:</p>
<ul>
<li>You can customize validation using <strong>Customizations &gt; Form Fields</strong> in the FusionAuth admin UI.</li>
<li>However, if you want to <strong>completely implement your own validation logic</strong>, you would need to handle that within your own application and your own pages/API.</li>
</ul>
<h2>Resources</h2>
<p dir="auto">Here are some helpful links for managing user verification and email validation workflows:</p>
<ul>
<li><a href="https://fusionauth.io/blog/how-user-verification-works" rel="nofollow ugc">How User Verification Works</a></li>
<li><a href="https://fusionauth.io/docs/lifecycle/manage-users/verification/gate-accounts-until-user-email-verified" rel="nofollow ugc">Gate Accounts Until User Email Verified</a></li>
</ul>
<p dir="auto">If you need exact custom validation logic, you'll need to implement it on your application side and potentially use custom form fields to enforce it during registration or profile updates.</p>
]]></description><link>https://fusionauth.io/community/forum/post/8641</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8641</guid><dc:creator><![CDATA[FASupportBot]]></dc:creator><pubDate>Mon, 28 Sep 2026 06:21:27 GMT</pubDate></item></channel></rss>