The RegexReplacementStringFormatter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RegexReplacementStringFormatter | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| Format |
Transforms the input string by replacing one or all instances of Pattern
with Replacement based on the value of EnableReplaceAll.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| EnableReplaceAll |
If true, all matched instances of Pattern in the input string will be
replaced with Replacement. If false only the first instance will be
replaced.
| |
| Pattern |
Gets or sets the pattern to match in the input string.
| |
| Replacement |
Gets or sets the text with which to replaces instances of the matched Pattern.
|