replace_text method

On this page

replace_text

Replaces all matches of the regular expression with a given replacement.

def replace_text(self, regular_expression, options):
    ...
Parameter Type Description
regular_expression System.Text.RegularExpressions.Regex Regular expression to search and replace.
options ReplacementOptions allow to set textual replacement or color for redaction block.

Returns: Text replacement result.

See Also

On this page