Returns a new Match with the results for the next match, starting at the position at which the last match ended (at the character beyond the last matched character).
[Visual Basic] Public Function NextMatch() As Match [C#] public Match NextMatch(); [C++] public: Match* NextMatch(); [JScript] public function NextMatch() : Match;
Next Regular Expression Match objecrt.
This function is similar to calling Match again and passing (Index+Length) as the new starting position, but it differs from calling Match directly because it handles zero-length match cases in a way that guarantees progress to the end of the string.
Match Class | Match Members | System.Text.RegularExpressions Namespace