Regex.MatchCount Method

Returns number of matches

When using Match this is always 1 or 0 (unless an error occured)

int MatchCount()

Return Value

Total number of matches found.