public static String filterStr(String str) {
        StringBuilder sb = new StringBuilder();
        int len = str.length();
        char pre_char = '`';//不等于split_char的字符
        for (int i = 0; i < len; i++) {
            boolean find = false;
            char cur_char = str.charAt(i);
            for (char t : token) {
                if (t == cur_char) {
                    find = true;break;
                }
            }
            //如果前一个是切割字符或者最后一个是切割字符则不输出
            if((find && pre_char == split_char) || (find && i+1==len))
            {
                continue;
            }
            pre_char = find ? split_char : cur_char;
            sb.append(pre_char);
        }
        return sb.toString();
    }