function REGEXP_SUBSTR(String, pattern, position, occurrence, modifier)
__srcstr :需要进行正则处理的字符串
__pattern :进行匹配的正则表达式
__position :起始位置,从第几个字符开始正则表达式匹配(默认为1)
__occurrence :标识第几个匹配组,默认为1
__modifier :模式('i'不区分大小写进行检索;'c'区分大小写进行检索。默认为'c'。)
1、查询使用正则分割后的第3个值,也就是:ST_0000115240
[sql]
SELECT REGEXP_SUBSTR('${ST_0000115239}-(${ST_0000115239}+${ST_0000115240}+${CA_0000115245}+${ST_0000115241})/4','w{13}',1,3,'c') AS STR FROM DUAL;
结果:ST_0000115240