redact_annotation method

redact_annotation

Replaces the matching text in all annotations within the document with given options.

def redact_annotation(self, regular_expression, options):
    ...
Parameter Type Description
regular_expression System.Text.RegularExpressions.Regex Regular expression to search and replace
options ReplacementOptions Replacement options

Returns: Replacement result

Aliases

These names call redact_annotation too, limited to the overloads listed.

Alias Accepts
redact_annotation_regex redact_annotation_regex(regular_expression, options)

See Also