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
37.1k
Regular Expression Difficult
Apr 29 2014 11:08 AM
Hello All,
I want to break the strings by using the Regular Expression:
String1:"(G011 + !(2VR_2_ACHS_LUFTFEDERUNG, 2VS_MASTERPIECE_ARBEITSNAME) + (B47D20, B48B20))"
Output:
(G011 + !(2VR_2_ACHS_LUFTFEDERUNG) + B47D20)
(G011 + !(2VS_MASTERPIECE_ARBEITSNAME) + B47D20)
(G011 + !(2VR_2_ACHS_LUFTFEDERUNG) + B48B20)
(G011 + !(2VS_MASTERPIECE_ARBEITSNAME) + B48B20)
String2:"(G011 + !(2VR_2_ACHS_LUFTFEDERUNG) + (2VS_MASTERPIECE_ARBEITSNAME) + (B47D20, B48B20))"
Output:
(G011 + !(2VR_2_ACHS_LUFTFEDERUNG) + (
2VS_MASTERPIECE_ARBEITSNAME) +
B47D20)
(G011 + !(2VR_2_ACHS_LUFTFEDERUNG) + (
2VS_MASTERPIECE_ARBEITSNAME) +
B48B20
)
Single Regular expression should serve for Both string1 and string2.
Thanks in Advance
Reply
Answers (
1
)
MindBoggle
what future gaming