会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bingo的成长之路
https://segmentfault.com/u/bingobro
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
正则表达式
【转】正则表达式查询表
摘要:网络上看到的正则表达式总结表,感觉不错。保留下来方便查询。
阅读全文
posted @
2021-02-01 10:31
bingo彬哥
阅读(135)
评论(0)
推荐(0)
re.search 与 re.match的区别
摘要:``` 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彬哥
阅读(510)
评论(0)
推荐(0)
如何替换一段字符串中的文字
摘要:用正则中的re.sub方法。
阅读全文
posted @
2018-03-07 12:02
bingo彬哥
阅读(733)
评论(0)
推荐(0)
公告
本站总访问量
次