Hello,
Could somebody please help me parse the following string into multiple columns using RegEx?
I have a column as follows:
CA RATE (1/1/13-12/31/16)
NZ RATE (1/1/16-3/31/17)
NZ CURRENT RATE (1/1/20)
CA CURRENT RATE (4/1/21)
What I want to get is as following three columns:
CA RATE 1/1/2013 12/31/2016
NZ RATE 1/1/2016 3/31/2017
NZ CURRENT RATE 1/1/2020 12/31/2022
CA CURRENT RATE 4/1/2021 12/31/2022
Thank you!
Konn
Solved! Go to Solution.
Hi @knnwndlm
Here's one way (no need to use regex).
This will get you the 3 columns without having to add the 12/31/2022 ahead of time, but you'd then need to add in a formula and datetime tool to clean up the nulls and the formats:
[A-Z\s]{1,}(?=\ \()|\d*\/\d*\/\d*
Thank you All for your quick reply. This is incredibly - the support and speed of the replies. Have a wonderful day!