docs: public static String replaceAll(final String text, final Pattern regex, final String replacement) {
          if (text == null || regex == null || replacement == null) {
              return text;
          }
          return regex.matcher(text).replaceAll(replacement);
      }