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
jithendra pasala
NA
53
36.9k
Regular Expression required
May 7 2014 4:58 AM
Hello All,
I want to break the strings by using the Regular Expression:
String1:"((((G011, G012) + !(111_HIGH_SECURITY)) + ALLRAD))"
Output:
G011+ !(111_HIGH_SECURITY) + ALLRAD
G012+ !(111_HIGH_SECURITY) + ALLRAD
String2:"((((G011, G012) + !(111_HIGH_SECURITY)) + !(5DF_GESCHWINREGSTOPGOFKT) + !(5AT_DRIVING_ASSISTANT_PLUS) + !(5DV_PARKASSISTENT_PLUS_ARBEITSNAME, 5DP_PARKASSISTENT, 5AU_DRIVING_ASSISTANT_PREMIUM_ARBEITSNAME) + Baustand<1611))"
Output:
(G011 + !(111_HIGH_SECURITY) + !(5DF_GESCHWINREGSTOPGOFKT) + !(5AT_DRIVING_ASSISTANT_PLUS) + !(5DV_PARKASSISTENT_PLUS_ARBEITSNAME) + Baustand<1611)
(G011 + !(111_HIGH_SECURITY) + !(5DF_GESCHWINREGSTOPGOFKT) + !(5AT_DRIVING_ASSISTANT_PLUS) + !(5DP_PARKASSISTENT) + Baustand<1611)
(G011 + !(111_HIGH_SECURITY) + !(5DF_GESCHWINREGSTOPGOFKT) + !(5AT_DRIVING_ASSISTANT_PLUS) + !(5AU_DRIVING_ASSISTANT_PREMIUM_ARBEITSNAME) + Baustand<1611)
(G012 + !(111_HIGH_SECURITY) + !(5DF_GESCHWINREGSTOPGOFKT) + !(5AT_DRIVING_ASSISTANT_PLUS) + !(5DV_PARKASSISTENT_PLUS_ARBEITSNAME) + Baustand<1611)
(G012 + !(111_HIGH_SECURITY) + !(5DF_GESCHWINREGSTOPGOFKT) + !(5AT_DRIVING_ASSISTANT_PLUS) + !(5DP_PARKASSISTENT) + Baustand<1611)
(G012 + !(111_HIGH_SECURITY) + !(5DF_GESCHWINREGSTOPGOFKT) + !(5AT_DRIVING_ASSISTANT_PLUS) + !(5AU_DRIVING_ASSISTANT_PREMIUM_ARBEITSNAME) + Baustand<1611)
Single Regular expression should serve for Both string1 and string2.
Thanks in Advance
Reply
Answers (
1
)
pdf report generation in c#
populate checkedlistbox from db and mark some as checked