docs: String replaceAllWithUppercase(String input,
                  String regex,
                  int groupNumberToUppercase)
      {
          Pattern underscoreAndDotPattern = Pattern.compile(regex);
          Matcher matcher = underscoreAndDotPattern.matcher(input);
          StringBuffer sb = new StringBuffer();
          while (matcher.find())
          {
              matcher.appendReplacement(sb, matcher.group(groupNumberToUppercase).toUpperCase());
          }
          matcher.appendTail(sb);
          return sb.toString();
      }