Try this one
<asp:TextBox id="txtphone" Runat="server" />
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server"
ErrorMessage="In Valid phone no." ValidationExpression="^(?:[0-9]+(?:-[0-9])?)*$" ControlToValidate="txtphone" />