Hello All,
I want to break the string by using the Regular Expression:
String1:"((G011, (G012 + !(111_HIGH_SECURITY))) + !(ALLRAD) + (B48B20, XB1141) + OL + (PLUGIN_HYBRID))"
Output:
(G011 + !(ALLRAD) + B48B20 + OL + (PLUGIN_HYBRID))
(G011 + !(ALLRAD) + XB1141+ OL + (PLUGIN_HYBRID))
(G012 + !(111_HIGH_SECURITY)+ !(ALLRAD) + B48B20 + OL + (PLUGIN_HYBRID))
(G012 + !(111_HIGH_SECURITY)+ !(ALLRAD) + XB1141+ OL + (PLUGIN_HYBRID))
String2:"((G011, (G012 + !(111_HIGH_SECURITY))) + (KEIN_HYBRID))"
Output:
(G011 + (KEIN_HYBRID))
(G011 + !(111_HIGH_SECURITY) + (KEIN_HYBRID))
One Regular Expression should server for both the strings.
Thanks in Advance
Loading

VulpesPosted May 5, 2014, 7:15 AM
The output now is:
jithendra pasalaPosted May 5, 2014, 3:33 AM
The given solution of regular expression not working for
((G011, (G012 + !(111_HIGH_SECURITY))) + ALLRAD + (N63B40, N63B44) + OL)
that should work for above string also
pls help
VulpesPosted May 2, 2014, 11:12 AM
For String 2 I've assumed that the second output string should read: