String (@NotNull String string) { return StringUtil.shortenTextWithEllipsis(string, 50, 10, "") .replaceAll("[^\\p{IsAlphabetic}\\d]", "") .replace(" ", "") .replace(StringUtil.NON_BREAK_SPACE, ""); }