ReplacingArgs Properties

The ReplacingArgs type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleGroupIndex
Identifies, by index, a captured group in the Match that is to be replaced with the Replacement string.
Public propertyCode exampleGroupName
Identifies, by name, a captured group in the Match that is to be replaced with the Replacement string.
Public propertyCode exampleMatch
The Match resulting from a single regular expression match during a Replace.
Public propertyCode exampleMatchNode
Gets the node that contains the beginning of the match.
Public propertyCode exampleMatchOffset
Gets the zero-based starting position of the match from the start of the node that contains the beginning of the match.
Public propertyCode exampleReplacement
Gets or sets the replacement string.
See Also