Guys,
Got some doubts about using functions. Below an example:
create or replace function fname(name varchar2, country varchar2) return varchar2
as begin
return regexp_replace(name, E'.country:(.?)(?=\n).*', E'\1', 1, 0, 'n');
end;
So, is it possible to use input argument country inside regexp_replace?