public static boolean validAlphanumericString ( String alphNumString ) { if ( alphNumString == null ) return false ; Matcher m = VALID_CHARACTERS_FOR_ALPHANUMERIC_STRING_PATTERN . matcher ( alphNumString ) ; return m . matches ( ) ; }
Return true if the given String is an alphanumeric string .