First of all i would say i have seen many example here and googled but none found that matches all the condition i am looking for some match top 3 not below some inbetween.
public bool IsValidPhone(string Phone)
{
try
{
if (string.IsNullOrEmpty(Phone))
return false;
var r = new Regex(@"^\(?([0-9]{3})\)?[-.●]?([0-9]{3})[-.●]?([0-9]{4})$");
return r.IsMatch(Phone);
}
catch (Exception)
{
throw;
}
}