string s = @"The \b brown fox\b0 jumped over the \b lazy dog\b0";
Regex rgx = new Regex(@"\\b(.*?)\\b0");
foreach (Match m in rgx.Matches(s))
{
Console.WriteLine(m.Groups[1].Value);
}
В качестве альтернативы вы можете использовать снимки:
string s = @"The \b brown fox\b0 jumped over the \b lazy dog\b0";
Regex rgx = new Regex(@"(.*?\\b(.*?)\\b0)*");
foreach (Capture c in rgx.Match(s).Groups[2].Captures)
{
Console.WriteLine(c.Value);
}