1 solution

Solution 1

<asp:TextBoxID="TextBox1"runat="server"></asp:TextBox><asp:RegularExpressionValidatorID="reg"runat="server"ControlToValidate="TextBox1"ErrorMessage="This character is not allowed"ValidationExpression="^[^*%']+$"></asp:RegularExpressionValidator>