Here you can find the source of filterOutNonKanji(String text)
public static String filterOutNonKanji(String text)
//package com.java2s; public class Main { public static String filterOutNonKanji(String text) { return text.replaceAll("[^\u4e00-\u9faf]+", ""); }//from w w w . jav a 2 s . c o m }