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 ...