public String removeTraces(String somethingContainingTraces) {
        if (somethingContainingTraces == null) {
            return null;
        }
        return somethingContainingTraces.replaceAll(Pattern.quote(prefix()) + ".*" + Pattern.quote(suffix()), "");
    }
Can be used to remove traces from a traced string.

@param somethingContainingTraces something containing traces
@return de-traced string
code-generation/language-base-freemarker/src/main/java/org/apache/plc4x/plugins/codegenerator/protocol/freemarker/Tracer.java