RegexRedaction class

RegexRedaction class

Represents a text redaction that searches and replaces text in the document by matching provided regular expression.

Inheritance: RegexRedactionTextRedactionRedaction

The RegexRedaction type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of RegexRedaction class.

Properties

Property Description
description Returns a string, describing the redaction and its parameters.
action_options Gets the ReplacementOptions instance, specifying type of text replacement.
ocr_connector Gets or sets the IOcrConnector implementation, required to extract text from graphic content.

Methods

Method Description
apply_to Applies the redaction to a given format instance.

Remarks

Learn more | | | |

Example

The following example demonstrates replacing text using the regular expression.

See Also