Click or drag to resize

ContentRangeReplace Method (Regex, String)

Replaces all matches of the specified Regex with specified text in the current ContentRange.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 27.3.30.1210
Syntax
public void Replace(
	Regex regex,
	string replacement
)

Parameters

regex
Type: System.Text.RegularExpressionsRegex
The Regex which should be matched.
replacement
Type: SystemString
The text which should replace all matches of searched Regex.
Remarks
For more information, see Find and Replace example.
See Also