select REGEXP_REPLACE (' if function_text() hi how do you do text_jon','(test\S.*)','',1,0,'m') from dual;
Output for this:
if function_
I don't want this "if function_
" too i.e null
output should be there
How to achieve the above?
select REGEXP_REPLACE (' if function_text() hi how do you do text_jon','(test\S.*)','',1,0,'m') from dual;
Output for this:
if function_
I don't want this "if function_
" too i.e null
output should be there
How to achieve the above?