I have a string Sample Text (Loren)
and I want to extract the text between the brackets, how would I do this?
string input = "Sample Text (Loren)";
string output = input.Substring(input.IndexOf('(') + 1, input.IndexOf(')') - input.IndexOf('(') - 1);