Hi, try to use this regex in your code, <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox1" ValidationExpression="[a-zA-Z ]*$" ErrorMessage="*Valid characters: Alphabets and space." />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)