Hello Vulps,
I want to break the below string by using the Regular Expression:
String:"((((G011 + B48B20 + OL + ECE + !(212_AUSST_BREMSANL_LAENDER)), (G011 + B48B20 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), (G011 + B47D20 + TL + ECE), (G011 + B57D30 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B48B20 + OL + ECE + !(212_AUSST_BREMSANL_LAENDER)), ((G012 + !(111_HIGH_SECURITY)) + B48B20 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B47D20 + TL + ECE), ((G012 + !(111_HIGH_SECURITY)) + B57D30 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B57D30 + OL + US))) + (((G011 + B48B20 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), (G011 + B47D20 + TL + ECE), (G011 + B57D30 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B48B20 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B47D20 + TL + ECE), ((G012 + !(111_HIGH_SECURITY)) + B57D30 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B57D30 + OL + US))))"
Output:
(((G011 + B48B20 + OL + ECE + !(212_AUSST_BREMSANL_LAENDER)), (G011 + B48B20 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), (G011 + B47D20 + TL + ECE), (G011 + B57D30 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B48B20 + OL + ECE + !(212_AUSST_BREMSANL_LAENDER)), ((G012 + !(111_HIGH_SECURITY)) + B48B20 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B47D20 + TL + ECE), ((G012 + !(111_HIGH_SECURITY)) + B57D30 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B57D30 + OL + US)))
(((G011 + B48B20 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), (G011 + B47D20 + TL + ECE), (G011 + B57D30 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B48B20 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B47D20 + TL + ECE), ((G012 + !(111_HIGH_SECURITY)) + B57D30 + OL + ECE + 212_AUSST_BREMSANL_LAENDER), ((G012 + !(111_HIGH_SECURITY)) + B57D30 + OL + US))))
Thanks in Advance
Jithendra Pasala