可以参考以下博客
https://www.cnblogs.com/guyuyun/p/5839881.html
https://www.runoob.com/python/python-reg-expressions.html
https://blog.csdn.net/xiaochendefendoushi/article/details/81335597