Regex r = new System.Text.RegularExpressions.Regex("(\\d+)(\\w)");
Match m = r.Match(" 123x ");
MessageBox.Show(m.Captures.Count.ToString());
MessageBox.Show(m.Captures[0].Value);
MessageBox.Show(m.Captures[1].Value);
this gives me exception when run