I am trying to extract a text string and break it out into multiple columns, but I'm running into issues as there are variable lengths.
Example:
SHP123-SLD2345-DIV67-CRP89999-SUP-1234124
SHP1234-SLD234-DIV678-CRP0987-SUP-012
I would want to break out the string into 5 columns; shp, sld, div, crp, sup
I also have a few odd rows with something like this;
SHP12345-SLD23431-DIV4231-CRP432432-SUP-123-hello
the '123-hello' would still be considered a SUP.
The expected output would be something similar to this:
SHP123
SLD2345
DIV67
CRP89999
SUP-1234124
SHP1234
SLD234
DIV678
CRP0987
SUP-012