I have a string from database field which contains the data in below format. The UW:
,Loading:
, CBE:
fields can be present.
ex1:
"[UW:Loading25,CBE]
[Loading: 100;120;130]
[CBE:150;170;190]"
ex2:
"[UW: CBE]
[CBE: 100;122;130]"
ex3:
"[UW:Loading25]
[Loading: 100;120;130]"
I have to separate them in different columns as mentioned below:
UW | Loading | CBE
--------------|----------------|------------
Loading25,CBE | 100;120;130 | 150;170;190
--------------|----------------|------------
CBE | |100;122;130
--------------|----------------|------------
Loading25 | 100;120;130 |
How can I resolve this?