Here you can find the source of isNumberLetter(String str)
public static Boolean isNumberLetter(String str)
//package com.java2s; public class Main { public static Boolean isNumberLetter(String str) { Boolean isNoLetter = false; String expr = "^[A-Za-z0-9]+$"; if (str.matches(expr)) { isNoLetter = true;//from w ww . j a v a 2 s. c om } return isNoLetter; } }