| 
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
Syntax
 
 
public int ReplaceInLine(
	Regex pattern,
	string newValue
)
 
Public Function ReplaceInLine ( 
	pattern As Regex,
	newValue As String
) As Integer
 
public:
virtual int ReplaceInLine(
	Regex^ pattern, 
	String^ newValue
) sealed
 
abstract ReplaceInLine : 
pattern : Regex * 
newValue : string -> int 
override ReplaceInLine : 
pattern : Regex * 
newValue : string -> int 
 
 
 
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
See Also