有点不理解楼主的问题,参考代码
Pattern p = Pattern.compile("[w][h][e][r][e]\\s+[I][d][=]\\d+");
String sql1 = "update table1 set Id=11 where Id=121212";
Matcher m = p.matcher(sql1);
while (m.find()) {
p(m.group());
}
Pattern p = Pattern.compile("[w][h][e][r][e]\\s+[I][d][=]\\d+");
String sql1 = "update table1 set Id=11 where Id=121212";
Matcher m = p.matcher(sql1);
while (m.find()) {
p(m.group());
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货