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