ITextualFormatInstance
Leave feedback
On this page
public interface ITextualFormatInstance
Defines methods that are required for redacting textual data in any document, containing text.
Learn more
- More details about applying redactions: Redaction basics
- More details about document text redactions: Text redactions
- More details about implementing custom formats: Create custom format handler
| Method | Description |
|---|---|
| replaceText(Pattern regularExpression, ReplacementOptions options) | Replaces all matches of the regular expression with a given replacement. |
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
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.