code: public String replaceAllRegex(String subject, String regex, 
                                    String replacement) {
          return subject.replaceAll(regex, replacement);
      }
docs: Replace the given regular expression pattern with the given replacement.
  This will replace all matches in the given string.
  
  @param subject The value to replace
  @param regex The regular expression pattern to match
  @param replacement The replacement value
  
  @return A new string based on the replacement of the expression
  
  @see String#replaceAll(String, String)