原来sql例如下:
select count(*) into v_count from iroute_QA3.country where country_id=NCOUNTRY_ID;
if(v_count=1) then
              update iroute_QA3.country set ALLOW_TESTING= v_allow_testing where country_id=NCOUNTRY_ID;
elsif(v_count=0) then
              insert into iroute_QA3.country(country_id,allow_testing) values(NCOUNTRY_ID,VALLOW_TESTING);
end if;包含有具体的schema如"iroute_QA3",可是我要把这些脚本放倒不同的schema下运行,不同的schema只是QA1,QA2等,由于脚本数量多,想通过程序来批量替换,把脚本中的QAX都替换为执行脚本当前的schema。如何批量替换呢?正则表达式吗?