ITextualFormatInstance

public interface ITextualFormatInstance

Defines methods that are required for redacting textual data in any document, containing text.


Learn more

Methods

Method Description
replaceText(Pattern regularExpression, ReplacementOptions options) Replaces all matches of the regular expression with a given replacement.

replaceText(Pattern regularExpression, ReplacementOptions options)

public abstract RedactionResult replaceText(Pattern regularExpression, ReplacementOptions options)

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

Parameters:

Parameter Type Description
regularExpression java.util.regex.Pattern Regular expression to search and replace
options ReplacementOptions allow to set textual replacement or color for redaction block

Returns: RedactionResult - Text replacement result