以数字结尾的正则表达式

                Pattern pattern = Pattern.compile("\\d+$");
                Matcher matcher = pattern.matcher(description);
                boolean a=matcher.find();
                    

猜你喜欢

转载自sugar-wang.iteye.com/blog/2313638
今日推荐