public static char[] removeExceptAlphabates(char[] inputData) {
        ArrayList<Character> listToReturn = new ArrayList<Character>();
        for (int i = 0; i < inputData.length; i++) {
            if ((((int) inputData[i]) > 64 && ((int) inputData[i]) < 91)
                    || (((int) inputData[i]) > 96 && ((int) inputData[i]) < 123)) {
                listToReturn.add(new Character(inputData[i]));
            }
        }
        char returnArray[] = new char[listToReturn.size()];
        int i = 0;
        for (Character character : listToReturn) {
            returnArray[i++] = character.charValue();
        }
        return returnArray;
    }