string: From_the_filename_pick_MONTH_YYYY.csv , desired output: MONTH YYYY , Tried and achieved result using combination of INSTR , SUBSTR and REPLACE
How can I do this using regular expression?
string: From_the_filename_pick_MONTH_YYYY.csv , desired output: MONTH YYYY , Tried and achieved result using combination of INSTR , SUBSTR and REPLACE
How can I do this using regular expression?
 
    
    One method uses regexp_substr():
select replace(regexp_substr('From_the_filename_pick_MONTH_YYYY.csv', '[^_]+_[^._]+[.]'), '.', '')
from dual;
