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…...formatting in some cases : csharp CopyEdit textFragment.TextState...block (see below) Code Snippet csharp CopyEdit var searchTerm = "\\[(...