摘要: 1 导包 Import re 2 匹配邮箱 ret=re.match("[a-zA-Z0-9]{4,20}@163\.com",字符串) If ret: print(ret.group()) else: print("匹配失败") 3 匹配电话号码 Import re ret=re.match("1 阅读全文
posted @ 2019-04-24 20:56 见于初始 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1、引入js 包<script type="text/javascript" src="../../static/news/js/jquery-1.12.4.min.js"></script> <script type="text/javascript" src="../../static/news 阅读全文
posted @ 2019-04-24 20:54 见于初始 阅读(255) 评论(0) 推荐(0) 编辑