TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jorge juan
NA
2
743
how to fix null error with regex.match.group.value
Feb 11 2020 4:13 PM
Friend Sub DetectBaseUrl()
Dim domain As String = Nothing
Dim match As String = Regex.Match(GmailClient.Username, ".+@(.+)").Groups(1).Value
If match = String.Empty AndAlso Not New String() {"gmail.com", "googlemail.com", "googlemail.co.uk"}.Contains(match) Then
domain = match
End If
BaseUrl = "http://mail.google.com" + (If((domain IsNot Nothing), ("/a/" + domain), Nothing))
End Sub
Reply
Answers (
1
)
Extent Reports with Spec Flow
Different way to fix IDOR Vulnerability issue in a ASP .NET