摘要:
正则表达式相关知识,参考MSDN文档:http://msdn.microsoft.com/zh-cn/library/az24scfc.aspx和http://msdn.microsoft.com/zh-cn/library/63ew9az0.aspxclassProgram{staticvoidMain(string[]args){Regexreg=newRegex(@"^(?<fpath>([a-zA-Z]:\\)([\s\.\-\w]+\\)*)(?<fname>[\w]+.[\w]+)");Matchresult=reg.Match(@&qu 阅读全文