ITextualFormatInstanceReplaceText Method
Replaces all matches of regular expression with given replacement

Namespace: GroupDocs.Redaction.Integration
Assembly: GroupDocs.Redaction (in GroupDocs.Redaction.dll) Version: 19.5
Syntax
RedactionResult ReplaceText(
	Regex regularExpression,
	ReplacementOptions options
)

Parameters

regularExpression
Type: System.Text.RegularExpressionsRegex
Regular expression to search and replace
options
Type: GroupDocs.Redaction.RedactionsReplacementOptions
ReplacementOptions allow to set textual replacement or color for redaction block

Return Value

Type: RedactionResult
Text replacement result
See Also