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.Allow Alphabets and Numbers (AlphaNumeric) with Comma and Underscore Special characters using RegularExpression in ASP.Net Hi @info4me,<br />Please try the following<br /><br /><a href = 'link(Threads/619891/How-to-allow-only-numbers-Numeric-TextBox-in-ASPNet-MVC-using-JavaScript/)'>How to allow only numbers (Numeric TextBox) in ASP.Net MVC using JavaScript</a><br /><br />It might help you.<br /><br />Cheers Andrea.https://www.aspforums.net:443/Threads/199032/Allow-Alphabets-and-Numbers-AlphaNumeric-with-Comma-and-Underscore-Special-characters-using-RegularExpression-in-ASPNet/https://www.aspforums.net:443/Threads/199032/Allow-Alphabets-and-Numbers-AlphaNumeric-with-Comma-and-Underscore-Special-characters-using-RegularExpression-in-ASPNet/Fri, 14 Nov 2014 05:38:45 GMTAllow Alphabets and Numbers (AlphaNumeric) with Comma and Underscore Special characters using RegularExpression in ASP.Net <p>Please refer this article</p> <p><a href="http://aspsnippets.com/Articles/Regular-Expression-Regex-to-accept-only-Alphabets-and-Space-in-TextBox-in-ASPNet.aspx"><span class="keyword title">Regular Expression</span> (Regex) to accept only Alphabets and Space in TextBox in ASP.Net</a></p> <p>Change the&nbsp; ValidationExpression to</p> <p>ValidationExpression="[a-zA-Z0-9,_]*$"&nbsp;</p> <pre class="brush: html">&lt;asp:RegularExpressionValidator ID=&#34;RegularExpressionValidator1&#34; runat=&#34;server&#34; ControlToValidate=&#34;TextBox1&#34; ValidationExpression=&#34;[a-zA-Z0-9,_]*$&#34; ErrorMessage=&#34;*Valid characters: Alphabets and Special Characters (,_).&#34; /&gt;</pre>https://www.aspforums.net:443/Threads/199032/Allow-Alphabets-and-Numbers-AlphaNumeric-with-Comma-and-Underscore-Special-characters-using-RegularExpression-in-ASPNet/https://www.aspforums.net:443/Threads/199032/Allow-Alphabets-and-Numbers-AlphaNumeric-with-Comma-and-Underscore-Special-characters-using-RegularExpression-in-ASPNet/Fri, 14 Nov 2014 05:45:10 GMT