string test = "abc (不固定的字符) c";
Regex reg = new Regex(@"(?<=[((])[^()()]*(?=[))])");
MatchCollection mc = reg.Matches(test);
foreach (Match m in mc)
{
richTextBox2.Text += m.Value + "\n";
}
string type = "aaa(string)";
string patting = Regex.Replace(type, @"\([^\(]*\)", "");