using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); t.Text = "There are five words here."; // Define a pattern to find any alphanumeric word t.Pattern("{@Alpha}"); t.Find(); Console.WriteLine($"Total words found: {t.Matches.Count()}");