I have a table with a column whose values look like these
AAAA\\BBB\CCC
\XXX\\\YYYY\ZZ\
The delimiter '\' can occur one or more number of times between the character strings. The ask is to isolate the character strings in the columns and store them like below
AAAA
BBB
CCC
Please suggest the solution in DB2