Convert delimited string to rows in oracle [duplicate]
问题 This question already has answers here : How to convert comma separated values to rows in oracle? (4 answers) Closed 2 years ago . I used to use below query to convert comma delimited string to rows - select regexp_substr('A,B,C,D','[^,]+', 1, level) from dual connect by regexp_substr('A,B,C,D', '[^,]+', 1, level) is not null; But, now my delimiter is - '~^' I am not able to use same query for this delimiter. select regexp_substr('A~^B~^C~D^E','[^~^]+', 1, level) from dual connect by regexp