using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); t.Text = "

Title

Text

"; // Pattern to find any tag and its content t.Pattern("<{tag}>{content}"); t.Find(); var allMatches = t.Matches; Console.WriteLine($"Found {allMatches.Count()} matches:"); // Loop through each Match object and print its Text foreach(var match in allMatches) { Console.WriteLine($" - {match.Text}"); }