Open kelumKP opened 8 years ago
public bool checkValidMobileNo(string mobileno) { Regex expr = new Regex(@"^[0-9]{10}$"); if (expr.IsMatch(mobileno)) { return true; } else return false; }