<asp:RegularExpressionValidator ControlToValidate="txtbox1" ValidationExpression="\+(\(|)[\d]{2}(\)|)\-(\(|)[\d]{4}(\)|)\-(\(|)[\d]{5}(\)|)" EnableClientScript="false" ErrorMessage="The Phone Number is not valid!" runat="server" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)