I hope everyone is doing well!
I am trying to extract/clean data from a column. Below is an example of a cell row:
"Mother Day Pack - 200ml / 10 Cans 1 glass & 1 crisp"
What I need to do is to
Separate the text data before the hyphen (-) and extract only "Mother Day Pack"
Separate the numeric data between the hypen (-) and the slash (/) and extract only "200"
Separate the first 2-digit numeric data after the slash (/) and extract only "10"
My thoughts are to duplicate the same columns x3 then use a REGEXP_EXTRACT or REPLACE (). However, I never used it before, so I would really appreciate your help to build the 3 queries
Thanks
I tried this REGEXP_EXTRACT(product_name,'.*?/') but it only captured the 200 so I am looking for the rest. Thanks