hello everyone, i have a string which i want to edit a part of it. the string is like
"1:5,7:9,13:20,130:510,134:2,"
now all i want to do is remove the first part of those numbers like
"5,9,20,540,2,"
i tried a bunch of combinations but didn't get what i expected.
Regex rx = new Regex("[:]\\d+[,]");
foreach (Match mx in rx.Matches("10:20,20:30,"))
{
Muhaha.InnerText += mx;
}
it returns ":20,:30," but i want to capture only the number, nut the punctuation.