Phone Number Validate in Visual Basic .NET

You can use System.Text.RegularExpressions.Regex class to validate phone number entered in a TextBox control

This is the code to validate phone number in 999-999-9999 format

Output : Valid Number

Output : Invalid Number