Pattern p = Pattern.compile("[0-9]");
Matcher m = p.matcher("asdas12dsad");
System.out.println(m.find());