Click or drag to resize

IDocument ReplaceInLine Method (Regex, String)

Replaces all entries with specified pattern with newValue text in single-line mode.

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

Parameters

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

Return Value

Type: Int32
The number of performed replaces.
See Also