I have a web page that collects people’s names , addresses and so on. There is a problem when someone enters their information and uses special characters in their name or addresses. Such as Âlice Pâté. I tried using a RegularExpressionValidator
with the ValidationExpression="^[a-
}" and they can still get the special characters through.
How can I prevent this. I am using Visual Studio 2010 with Visual Basic on the aspx pages.
<asp:RegularExpressionValidator ID="regexpName" runat="server"
ErrorMessage="This expression does not validate."