public boolean validatePhoneNumber(MobileNo _mobileNo)
{
Str MatchEmailPattern = @"[0-9]";
System.Text.RegularExpressions.Match myMatch;
myMatch = System.Text.RegularExpressions.Regex::Match(_mobileNo,MatchEmailPattern);
return myMatch.get_Success();
}
Nice Post.
ReplyDeletePhone Number Validation