|
@@ -365,7 +365,7 @@ public class CatalogueUtil {
|
|
|
*/
|
|
|
public static String removeBetweenWordSpace(String str){
|
|
|
Pattern pattern = Pattern.compile("(?<=[\\x{4e00}-\\x{9fa5}])\\s(?=[\\x{4e00}-\\x{9fa5}])");
|
|
|
- Matcher m = pattern.matcher("1.偏瘫 2.脑出血恢复期 3.高血压 4.前列腺增生 5.Ⅰ度 房室传导阻滞 6.左 肾结石 7.颈动脉硬化 伴右侧斑块形成");
|
|
|
+ Matcher m = pattern.matcher(str);
|
|
|
return m.replaceAll("");
|
|
|
}
|
|
|
}
|