匹配ZDK10+30-ZDK15+50 String pattern0 = ".DK\\d{1,2}\\+\\d{1,4}\\-.DK\\d{1,2}\\+\\d{1,4}"; 转载于:https://www.cnblogs.com/wangzuofei/p/11547512.html