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