Hello All,
I want to break the below string by using the Regular Expression:
String:"((5AT_DRIVING_ASSISTANT_PLUS, 5AU_DRIVING_ASSISTANT_PREMIUM_ARBEITSNAME, (5DP_PARKASSISTENT + (205_AUTOMATIK, 2TB_SPORT_AUTOMATIK_GETRIEBE, 2TE_AUTOMATIC_GETRIEBE_MIT_SCHALTWIPPEN)), 5DV_PARKASSISTENT_PLUS_ARBEITSNAME))"
Output:
1. 5AT_DRIVING_ASSISTANT_PLUS
2. 5AU_DRIVING_ASSISTANT_PREMIUM_ARBEITSNAME
3. (5DP_PARKASSISTENT + (205_AUTOMATIK, 2TB_SPORT_AUTOMATIK_GETRIEBE, 2TE_AUTOMATIC_GETRIEBE_MIT_SCHALTWIPPEN))
4. 5DV_PARKASSISTENT_PLUS_ARBEITSNAME
We cannot Split with the (','). Because, 3rd string contains the comma(,) that should not split with the comma.
the input string should split in 4 strings.
Thanks in Advance