Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
实际上发现正则表达式有些困难。任何正则表达式大师都可以帮我从这个条目 lic01\ense0000.dat 中删除这部分 01\。实际上所有条目都有这部分,我需要一些涵盖所有条目的东西。
Regex rgx = new Regex(@"(?:01\\)"); string TrimmedFileName = rgx.Replace(FileName, "");