Я с Дэвидом Х .: Инверсия подразумевает, что вы не хотите совпадений, а скорее текст, окружающий совпадения, в этом случае сработает метод Regex Split (). Вот что я имею в виду:
static void Main(string[] args)
{
Regex re = new Regex(@"\sthe\s", RegexOptions.IgnoreCase);
string text = "this is the text that the regex will use to process the answer";
MatchCollection matches = re.Matches(text);
foreach(Match m in matches)
{
Console.Write(m);
Console.Write("\t");
}
Console.WriteLine();
string[] split = re.Split(text);
foreach (string s in split)
{
Console.Write(s);
Console.Write("\t");
}
}