Java tutorial
//package com.java2s; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static String pattern_chinese = "([\\u4e00-\\u9fa5])+"; public static boolean checkChineseInString(String name) { Pattern p = Pattern.compile(pattern_chinese); Matcher matcher = p.matcher(name); return matcher.find(); } }