MatchCollection, RegEx, .
However, I suspect that this may not be an account that is erroneous, but you may need to be more specific with your regular expression (make it less greedy) in order to identify specific instances of the match you want.
Now you have all instances of the same number in the string, so you get a result that you think is incorrect? If so, can you provide a string and a regular expression?
source
share