I have attempted to use this question here Splitting string into multiple rows in Oracle and adjust it to my needs however I'm not very confident with regex and have not been able to solve it via searching.
Currently that questions answers it with a lot of regex_substr and so on, using [^,]+
as the pattern so it splits by a single comma. I need it to split by a multi-character delimiter (e.g. #;
) but that regex pattern matches any single character to split it out so where there are #
s or ;
s elsewhere in the text this causes a split.
I've worked out the pattern (#;+)
will match every group of #;
but I cannot workout how to invert this as done above to split the row into multiple.
I'm sure I'm just missing something simple so any help would be greatly appreciated!