随笔分类 -  正则表达式

摘要:网络上看到的正则表达式总结表,感觉不错。保留下来方便查询。 阅读全文
posted @ 2021-02-01 10:31 bingo彬哥 阅读(124) 评论(0) 推荐(0) 编辑
摘要:``` search ⇒ find something anywhere in the string and return a match object. match ⇒ find something at the beginning of the string and return a match object. # example code: string_with_newlines = "... 阅读全文
posted @ 2018-08-22 18:15 bingo彬哥 阅读(498) 评论(0) 推荐(0) 编辑
摘要:用正则中的re.sub方法。 阅读全文
posted @ 2018-03-07 12:02 bingo彬哥 阅读(725) 评论(0) 推荐(0) 编辑

本站总访问量8982493
点击右上角即可分享
微信分享提示