Greetings,
I am developing GWT application where user can enter his details in Japanese. But the \'userid\' and \'password\' should only contain English characters(L
There is my solution and it is working excellent
public static boolean isStringContainsLatinCharactersOnly(final String iStringToCheck) { return iStringToCheck.matches("^[a-zA-Z0-9.]+$"); }