private int checkRegEx(String result) {
        if(result == null || result.isEmpty()) return 0;
        result = result.toLowerCase();
        String regEx1 = "[2-9][p-z][a-h][2-9][a-z]*[p-z][2-9][p-z][2-9][p-z]";
        String regEx2 = "[2-9][p-z][p-z][a-h][2-9][a-z]*[p-z][2-9][2-9][2-9][p-z]";
        if(result.matches(regEx1) || result.matches(regEx2)) return 1;
        return 2;

    }