Function for Validate Mobile no.VB.NET
9/4/08
, Posted by Gregfox at 11:00 PM
Public Function isValidMobileno(ByRef Mobile As String) As Boolean
Dim isValidE As Boolean = False
If myEmail <> String.Empty Then
If (System.Text.RegularExpressions.Regex.IsMatch(myEmail, "^[0-9]{10,12}|[0-9]{2}-[0-9]{10}$", RegexOptions.IgnoreCase)) Then
isValidE = True
End If
End If
Return isValidE
End Function
Currently have 0 comments: