using uCalcSoftware; var uc = new uCalc(); using (var s = new uCalc.String("Data (important) more data")) { // Get the text between the opening and closing parenthesis var content = s.Between("(", ")"); Console.WriteLine(content); }