Say i have a string like this: "23423423" and i want to find all numbers with length of 2 with regex like this "[0-9]{2}"
Now in my texteditor this gives me 7 matches: 23, 34, 42, 23, 34, 42, 23
however in c# i seem to be only getting 4 23, 42, 34, 42
I need the first scenario but cannot find a solution.
I have tried regex.Match() and regex.Matches() with no luck.
Anyone know how?