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