RegExMatch
Class RegExMatch
| Method Prototype | Description
|
| Function Replace(s As String = "") As String | replace the matched text with the given text (or if no text is given, with the RegEx.ReplacementPattern)
|
| Function SubExpressionCount() As Integer | how many subexpressions there are
|
| Function SubExpressionStartB(i As Integer) As Integer | start (in bytes) of the given subexpression within the original text
|
| Function SubExpressionString(i As Integer) As String | text of the given subexpression
|
This class represents the result of a
RegEx search. You can use it to replace the matched text with new text, or inspect the subexpressions within the match. Note that subexpression 0 always represents the full text matched; additional subexpressions, if any, are parenthesized sections of the in the original
RegEx.SearchPattern.