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
sampath meka
NA
41
12.2k
Regular Expressions
Mar 12 2014 5:03 AM
Hello,
Kindly help me i am stuck in the following expression...
string strTest = " (!(2VH_AKTIVLENKUNG_UND_HSR) + !(ALLRAD) + (B47D20 + G011, B47D20 + G012, B48B20 + G011, B48B20 + G012, B57D30 + G011, B57D30 + G012, B58B30 + G011, B58B30 + G012, G011 + N63B40, G012 + N63B40,)";
string r = @"(?((?=.*\)))(?<=\)), |, )";
foreach(string s in Regex.Split(strTest, r))
{
Console.WriteLine(s);
}
I am using the above expression kindly correct to make the above expression work
Expected Output:
2VH_AKTIVLENKUNG_UND_HSR
ALLRAD
B47D20 + G011
B47D20 + G012
B48B20 + G011
B48B20 + G012
B57D30+ G011
B57D30+ G012
B58B30 + G011
B58B30 + G012
G011 + N63B40
G012 + N63B40
Reply
Answers (
5
)
how rotate pictures clockwise using picturebox in winform
How to sort dataset on basic of Date.