IBodyRegion
Replace Method (Regex, String)
|
Replaces all entries of matchString regular expression with newValue string.
Namespace:
Spire.Doc.Documents
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
int Replace(
Regex pattern,
string replace
)
Function Replace (
pattern As Regex,
replace As String
) As Integer
int Replace(
Regex^ pattern,
String^ replace
)
abstract Replace :
pattern : Regex *
replace : string -> int
Parameters
-
pattern
-
Type:
System.Text.RegularExpressions
Regex
-
replace
-
Type:
System
String
Return Value
Type:
Int32
See Also