code: protected String stripOff(String body, String pattern) {
          String urlEncodePattern = getURLEncode(pattern);
          String urlDecodePattern = getURLDecode(pattern);
          String htmlEncodePattern1 = getHTMLEncode(pattern);
          String htmlEncodePattern2 = getHTMLEncode(urlEncodePattern);
          String htmlEncodePattern3 = getHTMLEncode(urlDecodePattern);
          String result = body.replaceAll("\\Q" + pattern + "\\E", "").replaceAll("\\Q" + urlEncodePattern + "\\E", "").replaceAll("\\Q" + urlDecodePattern + "\\E", "");
          result = result.replaceAll("\\Q" + htmlEncodePattern1 + "\\E", "").replaceAll("\\Q" + htmlEncodePattern2 + "\\E", "").replaceAll("\\Q" + htmlEncodePattern3 + "\\E", "");
          return result;
      }
docs: Replace body by stripping of pattern string. The URLencoded and
  URLdecoded pattern will also be stripped off. This is mainly used for
  stripping off a testing string in HTTP response for comparison against
  the original response. Reference: TestInjectionSQL
  
  @param body the body that will be used
  @param pattern the pattern used for the removals
  @return the body without the pattern