class Xs2aHttpLogSanitizer {

    public String sanitize(String data) {
        String replacedData = data;
        for (Pattern pattern : patterns) {
            Matcher matcher = pattern.matcher(replacedData);
            if (matcher.find()) {
                replacedData = matcher.replaceAll("$1/" + REPLACEMENT + "$2");
            }
        }
        return replacedData;
    }

    public  Xs2aHttpLogSanitizer();

}