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.Regular Expression (Regex) for Alphabets with special characters only<p>Please refer this HTML code.</p> <p>This will allow you Alphabets, Special Charecters (, . #)</p> <pre class="brush: html">&lt;u&gt;1. Using Regular Expression Validator&lt;/u&gt; &lt;hr /&gt; &lt;asp:TextBox ID=&#34;TextBox1&#34; runat=&#34;server&#34; /&gt; &lt;br /&gt; &lt;asp:RegularExpressionValidator ID=&#34;RegularExpressionValidator1&#34; runat=&#34;server&#34; ControlToValidate=&#34;TextBox1&#34; ValidationExpression=&#34;[a-zA-Z.,#]*$&#34; ErrorMessage=&#34;*Valid characters: Alphabets and Special Characters (.,#).&#34; /&gt; &lt;br /&gt; &lt;asp:Button ID=&#34;Button1&#34; Text=&#34;Validate&#34; runat=&#34;server&#34; /&gt;</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/376655/Regular-Expression-Regex-for-Alphabets-with-special-characters-only/https://www.aspforums.net:443/Threads/376655/Regular-Expression-Regex-for-Alphabets-with-special-characters-only/Mon, 10 Nov 2014 03:36:38 GMT