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

First paragraph.

Content
"; // Pattern to find any simple HTML-like tag t.Pattern("<{tag}>{content}"); t.Find(); var matches = t.Matches; Console.WriteLine($"Found {matches.Count()} tags:"); foreach(var match in t.Matches) { Console.WriteLine($"- {match.Text}"); }