I have a table with column data in below format(Row# just to indicate row number).
Row#1 :test.doc#delimiter#1234,test1.doc#delimiter#1235,test2.doc#delimit
if you want to find an existing delimier and split it
try this query :
select substr(filed_name ,
REGEXP_SUBSTR(filed_name,'#demilimer#',1),
(REGEXP_SUBSTR(filed_name,'#demilimer#',2)-1)
) col1 ,
substr(filed_name ,
REGEXP_SUBSTR(filed_name,'#demilimer#',2),
REGEXP_SUBSTR(filed_name,'#demilimer#',3)- (REGEXP_SUBSTR(filed_name,'#demilimer#',2))
) col2 ,
substr(filed_name ,
REGEXP_SUBSTR(filed_name,'#demilimer#',3),
length(filed_name)- (REGEXP_SUBSTR(filed_name,'#demilimer#',3))
) col3 /* last col should take up to the length */
from table_name