version = Regex.Replace(str, @"(.*\()(.*)(\).*)", "$2"); //小括號() Regex rgx = new Regex(@"(?i)(?<=\[)(.*)(?=\])");//中括號[] string tmp = rgx.Match(CvoName).Value;//中括號[] string sheetData = Regex.Match(LinkData, @"\{(.*)\}", RegexOptions.Singleline).Groups[1].Value;//大括號{}