Solution 1:
You're looking for the Regex.Matches
method (plural), which returns a collection containing all of the matches in the original string.
You're looking for the Regex.Matches
method (plural), which returns a collection containing all of the matches in the original string.