Click or drag to resize

Document ReplaceInLine Method (Regex, String)

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

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

Parameters

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

Return Value

Type: Int32

Implements

IDocument ReplaceInLine(Regex, String)
See Also