I am trying to extract a part of the string 'c://abcd /abcdef/0012wetr_1234567890.csv' between the last '/' and '_' characters.
0012wetr
I am able to extract everything after the last '/' character
select regexp_extract('c://abcd /abcdef/0012wetr_1234567890.csv', '([^/]*)$');
0012wetr_1234567890.csv
Unfortunately I am stuck and don't know how to split it further.
Your help would be appreciated. Cheers, A.