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;//大括号{}

 

相关文章:

  • 2022-12-23
  • 2021-12-09
  • 2022-01-07
  • 2022-12-23
  • 2022-02-07
  • 2022-03-01
  • 2021-11-06
  • 2021-12-22
猜你喜欢
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
  • 2021-11-13
  • 2022-01-05
相关资源
相似解决方案