Description
A SearchMatch object represents a match in the document found by using the method Element.Search.
C#
vb.net
Examples
C#
vb.net
Properties
Name |
Description |
---|---|
Returns an Element object representing the current text match. | |
Returns the number of groups found in the current SearchMatch. Regular expression groups are created by adding parentheses to the regular expression. This method should always return at least 1. |
Methods
Name |
Description |
---|---|
Returns the string that matches the specified group. The first group is always the string that matches the entire regular expression. Groups are ordered by the left-to-right order of the left parentheses of the group. | |
Replaces this match with the specified string. |