private String doHeaderReplaceAll ( String headerValue , String fromRegex , String toReplacement ) { return headerValue . replaceAll ( fromRegex , toReplacement ) ; }
Finds all matching instances of the regular expression and replaces them with the replacement value .