String hangulRegex = "[\\p{InHangul_Jamo}\\p{InHangul_Compatibility_Jamo}\\p{InHangul_Syllables}]*"
public boolean containsHangul(String str) { for(int i = 0 ; i < str.length() ; i++) { char ch = str.charAt(i); Character.UnicodeBlock unicodeBlock = Character.UnicodeBlock.of(ch); if(UnicodeBlock.HANGUL_SYLLABLES.equals(unicodeBlock) || UnicodeBlock.HANGUL_COMPATIBILITY_JAMO.equals(unicodeBlock) || UnicodeBlock.HANGUL_JAMO.equals(unicodeBlock)) return true; } return false; }