StringBuilder sb = new StringBuilder(256); MatchCollection mTr = Regex.Matches(yourStr, @"<tr[^>]*>(?:(?!</?tr>)[/s/S])*</tr>", RegexOptions.IgnoreCase); foreach (Match mr in mTr) { MatchCollection mTd = Regex.Matches(mr.Value, @"(?<=<td[^>]*>)[^>]*(?=</td>)", RegexOptions.IgnoreCase); foreach (Match md in mTd) { sb.AppendLine(md.Value); } } Console.WriteLine(sb.ToString()); Console.ReadKey();