EXTRACT ext_m1
SETENV ( NLS_LANG = "AMERICAN_AMERICA.AL32UTF8" )
USERIDALIAS oggopr
EXTTRAIL ./dirdat/m1
TRANLOGOPTIONS EXCLUDEUSER oggopr
REPORTCOUNT EVERY 5 MINUTES, RATE
GETTRUNCATES
table txndba.txn_proc_result_270;
table txndba.txn_proc_result_351;
table txndba.txn_proc_result_371;
table txndba.txn_proc_result_471;
table txndba.txn_proc_result_731;
table txndba.txn_proc_reslut_791;
我要截取 txndba.txn_proc_result_后面的数字放在list中,怎么截取??
正则表达式提取
Pattern p=Pattern.compile("(?<=txn_proc_result_)\\d+");
Matcher m=p.matcher(你的文件内容字符串);
while(m.find()) {
System.out.println(m.group());
}