public static string GetLastInstanceOf(string sentence) { string returnValue = sentence; var matches = System.Text.RegularExpressions.Regex.Matches(sentence, @"\(([^)]*)\)"); if (matches.Count > 0) { returnValue = matches.Last().Groups[1].Value; } return returnValue; }