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
Karan Thakkar
1.5k
204
90.1k
Regex syntax error in c#?
Jan 16 2019 11:46 PM
I am getting links in email.
there are two types of links, In some link there is = in link and sometime there is == in links
and its possible that there may be === in link how should I code for it.
Below is my code, please help me out of this problem?
This code will only work when there is one = at the end of the link, not when there are == or
Regex emailRegex2 = new Regex(@"\b(?:https:\/\/www.xyz.com\/onlinedownload)\S+\b=", RegexOptions.Compiled | RegexOptions.IgnoreCase);
Reply
Answers (
4
)
Add multiple database to the config file?
Get the data from the second databse from the config file