Author: crazy123321 | Posted on: 6/28/2008 5:30:02 PM | Views : 334

I have a multiline textbox in my page and the following RegularExpressionValidator control:

 

<asp:RegularExpressionValidator runat="server" ID="revShortMessage" ControlToValidate="txtShortMessage" Display="Dynamic" ErrorMessage="Web site addresses are not allowed." SetFocusOnError="true" ValidationGroup="SendProfile" ValidationExpression="(\b\.+\b)|(\w+dot\w+)|(\s+\.+\s+)|(\s+dot\s+)" EnableClientScript="trueââ?¬Â /> 

 

Go to the complete details ...