Код: Выделить всё
string page = Encoding.ASCII.GetString(bytePage);
Regex qariRegex = new Regex("[url=\].*?)\">(?.*?)[/url]");
MatchCollection mc = qariRegex.Matches(page);
CaptureCollection cc = mc[0].Captures;
MessageBox.Show(cc[0].ToString());
Код: Выделить всё
[url=/path/to/file]Name of File[/url]
Как я могу получить доступ к именованным группам захвата, указанным в моем регулярном выражении?
Подробнее здесь: https://stackoverflow.com/questions/906 ... -net-regex