We are using TextFragmentAbsorber to find and redact text in a PDF. The redactions are marked with square brackets like [Reason], and the logic does the following:
Finds all fragments matching regex: \[(?s)(.*?)\]
Upda…..., white text on black background) However , after...coloring — e.g., only partial background color applied, or text overlaps...