public static void main(String[] args) {
String v3_str="农业银行、0.11|农行、0.53";
System.out.println(v3_str.matches("(.*)0\\.[5-9](.*)"));
}
public static void main(String[] args) {
String B = "县、0.55,镇、0.55,乡、0.55";
System.out.println(B.replaceAll("([县乡镇])、0.55","$1、0.0"));
String B = "农业银行、0.61|农行、0.53-农业银行、0.31|农行、0.33";
Pattern pattern = Pattern.compile("[\\u4e00-\\u9fa5]+、0\\.[5-9]\\d?");
Matcher matcher = pattern.matcher(B);
if(matcher.find())
System.out.println(matcher.group());
}
String B = "农业银行、0.61|农行、0.53-农业银行、0.31|农行、0.33";
Pattern pattern = Pattern.compile("[\\u4e00-\\u9fa5]+、0\\.[5-9]\\d?");
Matcher matcher = pattern.matcher(B);
while(matcher.find()){
System.out.println(matcher.group());
}
String B = "2019-07-10 16:56:39,929 INFO [ConsumeMessageThread_20] com.iqiyi.luban.api.service.monitor.impl.MonitorServiceImpl: <venus>[[VideoProcessFlowMonitorStatistics={\"logType\":\"1\",\"node\":\"lego_file_reverse\",\"sourceProvider\":\"pgc_selfmedia_iqiyihao\",\"processStatus\":1,\"qipuId\":3280659700,\"processTime\":1562748999929}]]";
Pattern pattern = Pattern.compile("<venus>\\[\\[(.+)\\]]");
Matcher matcher = pattern.matcher(B);
if(matcher.find())
System.out.println(matcher.group().replaceAll("<venus>\\[\\[|\\]\\]",""));