String..::..Replace Method (Regex, Delegate)
The replace() method returns a new string with some or all matches of a pattern replaced by a replacement. The pattern can be a string or a Regex, and the replacement can be a string or a function to be called for each match.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- Regex
- Type: Bridge.Text.RegularExpressions..::..Regex
A Regex object. The match is replaced by the return value of parameter #2.
- callback
- Type: System..::..Delegate