学习Python中的正则表达式. ... July 02 2013 , Category: Python ... pat = '_name' text = 'my name is _name' re.sub(pat, 'xxx', text) # result 'my name is xxx' ...
確定! 回上一頁