| 
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
Syntax
 
 
int ReplaceInLine(
	Regex pattern,
	string replace
)
 
Function ReplaceInLine ( 
	pattern As Regex,
	replace As String
) As Integer
 
int ReplaceInLine(
	Regex^ pattern, 
	String^ replace
)
 
abstract ReplaceInLine : 
pattern : Regex * 
replace : string -> int 
 
 
 
Parameters
 
- 
pattern
 
- 
 Type:
 
System.Text.RegularExpressions
Regex
 
 The pattern.
- 
replace
 
- 
 Type:
 
System
String
 
 
Return Value
 
 Type:
 
Int32
 
 The number of performed replaces.
 
 See Also
See Also