匹配文件名
r‘\\([^\\]*)\.‘
匹配文件名+扩展名
r‘\\([^\\]*)$‘
常用正则表达式
原文:https://www.cnblogs.com/ac2sherry/p/8278966.html