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.7k
Regular Expression please..
Jun 5 2014 2:45 AM
Hello All,
I want to break the strings by using the Regular Expression:
String1:"(2VH_AKTIVLENKUNG_UND_HSR + ALLRAD + !(111_HIGH_SECURITY) + (B47D20 + G011, B47D20 + G012, B48B20 + G011)) + !(ZSWX_ZAHNSTANGENWECHSEL_XSTEER)"
String2:"(2VH_AKTIVLENKUNG_UND_HSR + !(ALLRAD) + !(111_HIGH_SECURITY) + (B47D20 + G011, B47D20 + G012, B48B20 + G011)) + !(ZSWX_ZAHNSTANGENWECHSEL_XSTEER)"
Output for string1:
2VH_AKTIVLENKUNG_UND_HSR + ALLRAD + !(111_HIGH_SECURITY) + B47D20 + G011 + !(ZSWX_ZAHNSTANGENWECHSEL_XSTEER)
2VH_AKTIVLENKUNG_UND_HSR + ALLRAD + !(111_HIGH_SECURITY) + B47D20 + G012 + !(ZSWX_ZAHNSTANGENWECHSEL_XSTEER)
2VH_AKTIVLENKUNG_UND_HSR + ALLRAD + !(111_HIGH_SECURITY) + B48B20 + G011 + !(ZSWX_ZAHNSTANGENWECHSEL_XSTEER)
Output for string2:
2VH_AKTIVLENKUNG_UND_HSR + !(ALLRAD) + !(111_HIGH_SECURITY) + B47D20 + G011 + !(ZSWX_ZAHNSTANGENWECHSEL_XSTEER)
2VH_AKTIVLENKUNG_UND_HSR + !(ALLRAD) + !(111_HIGH_SECURITY) + B47D20 + G012 + !(ZSWX_ZAHNSTANGENWECHSEL_XSTEER)
2VH_AKTIVLENKUNG_UND_HSR + !(ALLRAD) + !(111_HIGH_SECURITY) + B48B20 + G011 + !(ZSWX_ZAHNSTANGENWECHSEL_XSTEER)
Thanks in Advance
Jithendra Pasala
Reply
Answers (
1
)
Foreach loop - Skip an item and go to next one
Regular Expression please2..