I have tried
select regexp_substr ('sys: error: This is a message ''123:'' for column EMP_NB', '[[:alpha:]_]+',1,9) from dual
I have column filled with this type of data.
sys: error: This is a message '123:' for column EMP_NB.
sys: error: This is a message '45346:' for column EM_NM.
sys: error: This is a message '78324f9:' for column DEPT_NO_VL.
I need an output like below this using regexp_substr in Oracle SQL. The challenge is the length of string tend to change and I need to extract only the characters after the column word in string.
Expected outputs:
EMP_NB
EM_NM
DEPT_NO_VL