Click or drag to resize

IDocument Replace Method (Regex, String)

Replaces all occurrences of a character pattern specified by a regular expression with newValue string.

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
int Replace(
	Regex pattern,
	string replace
)

Parameters

pattern
Type: System.Text.RegularExpressions Regex
replace
Type: System String

Return Value

Type: Int32
See Also