Will a collection of matches give you more control?
Using \d+[^,], can you get a set of numbers?
Then you can scroll through your collection and recreate the desired line.
using linq, you can do the following:
var input = "10,11,12,13,14,ABC,DEF,GHI,66";
Regex re = new Regex(@"\d+[^,]");
input = (from Match m in re.Matches(input) select m.Value).Aggregate("", (acc, item) => acc + "," + item).TrimStart(',');
source
share