Hello, I am having below Table with Column1. I need to add a Custom Column (Column2) by Parsing Column1. In below table,the cell values are not in consisten format.I need to parse each value. If current cell value contains "(" then I need to pull Left side of cell value. If current cell contains "/" I need to pull right side of cell value. This is just a sample and I am having lot of variances like this. Up until now, I am using macros. But I want to convert this in to Power Query. Is there any way I can Parse this? I know we cannot user VBA in power Query. Any Input?
https://1drv.ms/i/s!AuLElRm7ChiimDSlfUc2pxw1sEl
COLUMN1 | COLUMN2 |
GZE-ABC-1234(SUBSCRIPTION) | GZE-ABC-1234 |
\XYZ\GZE-ABC-5678 | GZE-ABC-5678 |
GZE-DEF-1234(SUBSCRIPTION1) | GZE-DEF-1234 |
\XYZ1\GZE-GHI-5678 | GZE-GHI-5678 |