1. 程式人生 > >正則表達式之Python編程

正則表達式之Python編程

正則 表達式




正則表達式介紹




正則表達式re模塊




正則表達式語法

字符匹配
.

[...]































re模塊相關方法使用








re.sub(patter, repl, string, count=0, flags=0)
split(pattern, string, maxsplit=0, flags=0)













本文出自 “運維自動化” 博客,請務必保留此出處http://shower.blog.51cto.com/4926872/1971182

正則表達式之Python編程