code: public static String transliterate(final String value) {
          validate(value, NULL_STRING_PREDICATE, NULL_STRING_MSG_SUPPLIER);
          String result = value;
          Set<Map.Entry<String, List<String>>> entries = Ascii.ascii.entrySet();
          for (Map.Entry<String, List<String>> entry : entries) {
              for (String ch : entry.getValue()) {
                  result = result.replace(ch, entry.getKey());
              }
          }
          return result;
      }
docs: Remove all non valid characters.
  
  @param value The input String
  @return String without non valid characters.