ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.ASP.Net RegularExpression for Email validation not working<p>Hey <a class="username" rel="chetan"> chetan</a>,</p> <p>Please refer below sample it's working.</p> <p><span style="text-decoration: underline;"><strong>HTML</strong></span></p> <pre class="brush: html">&lt;div&gt; &lt;asp:TextBox ID=&#34;txtemail&#34; runat=&#34;server&#34; Width=&#34;207&#34;&gt;&lt;/asp:TextBox&gt; &lt;asp:RegularExpressionValidator ID=&#34;RegularExpressionValidator3&#34; ValidationGroup=&#34;addval&#34; runat=&#34;server&#34; ErrorMessage=&#34;Invalid email address.&#34; ForeColor=&#34;Red&#34; ControlToValidate=&#34;txtemail&#34; ValidationExpression=&#34;[a-z0-9!#$%&amp;&#39;*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&amp;&#39;*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?&#34;&gt;&lt;/asp:RegularExpressionValidator&gt; &lt;asp:Button Text=&#34;Update&#34; runat=&#34;server&#34; /&gt; &lt;/div&gt;</pre> <p><span style="text-decoration: underline;"><strong>Screenshot</strong></span></p> <p><img src="https://imgur.com/V16CRXa.gif" alt="" width="238" height="175" /></p>https://www.aspforums.net:443/Threads/956430/ASPNet-RegularExpression-for-Email-validation-not-working/https://www.aspforums.net:443/Threads/956430/ASPNet-RegularExpression-for-Email-validation-not-working/Mon, 17 Dec 2018 23:09:21 GMT