1 using System.Text.RegularExpressions; 2 private bool IsMobile(string phoneNo) 3 { 4 return Regex.IsMatch(phoneNo, @"^(1[358]\d{9}|17[0678]\d{8})$", RegexOptions.IgnoreCase); 5 }