Sign in
Google apps
Main menu
Post a Comment On:
j4neiros
"Excel Regular Expressions"
No comments yet. -
1 – 0 of 0
Sub RegEx_Tester()
Dim objRegExp_1 As Object
Dim regExp_Matches As Object
Dim strToSearch As String
Set objRegExp_1 = CreateObject("vbscript.regexp")
objRegExp_1.Global = True
objRegExp_1.IgnoreCase = True
objRegExp_1.Pattern = "[a-z,A-Z]*@[a-z,A-Z]*.com"
strToSearch = "ABC@xyz.com"
Set regExp_Matches = objRegExp_1.Execute(strToSearch)
If regExp_Matches.Count = 1 Then
MsgBox ("This string is a valid email address.")
End If
End Sub
posted by J. Ernesto Aneiros at
11:19 AM
on Aug 13, 2014
Leave your comment
You can use some HTML tags, such as
<b>, <i>, <a>
Choose an identity
Google Account
You will be asked to sign in after submitting your comment.
Name/URL
Comment with your Google account if you’d like to be able to manage your comments in the future. If you comment anonymously, you won’t be able to edit or delete your comment.
Learn more
Name
URL
Anonymous
Comment with your Google account if you’d like to be able to manage your comments in the future. If you comment anonymously, you won’t be able to edit or delete your comment.
Learn more
Please prove you're not a robot
"Excel Regular Expressions"
No comments yet. -