string str1= System.Text.RegularExpressions.Regex.Replace(str, @"[A-Za-z]","");
04-10
12-22
488

11-21
5711

string str1= System.Text.RegularExpressions.Regex.Replace(str, @"[A-Za-z]","");