String (@NotNull String string) { Matcher matcher = DESCRIPTION_BY_EVENT.matcher(string); MatchResult matchResult = matcher.find() ? matcher.toMatchResult() : null; return matchResult instanceof Matcher ? ((Matcher)matchResult).group("description") : string; }