docs: public static String substitutePerl(String content, String searchString, String replaceItem, String occurences) {
  
          String translationRule = "s#" + searchString + "#" + replaceItem + "#" + occurences;
          Perl5Util perlUtil = new Perl5Util();
          try {
              return perlUtil.substitute(translationRule, content);
          } catch (MalformedPerl5PatternException e) {
              if (LOG.isDebugEnabled()) {
                  LOG.debug(
                      Messages.get().getBundle().key(Messages.LOG_MALFORMED_TRANSLATION_RULE_1, translationRule),
                      e);
              }
          }
          return content;
      }