string patten = "(\\[[^\\]]*\\])";


Regex reg = new Regex(patten);

MatchCollection matches=reg.Matches(t);
foreach (Match match in matches)
{

Response.Write(match.Value);

}

相关文章:

  • 2022-12-23
  • 2021-11-07
  • 2021-12-18
  • 2018-11-03
  • 2021-11-06
  • 2021-09-11
  • 2022-01-21
猜你喜欢
  • 2022-01-04
  • 2022-12-23
  • 2022-02-01
  • 2021-10-05
相关资源
相似解决方案