1
lll9p 2016-02-17 20:15:25 +08:00 1
import re
re.compile(r'(\(.*),(.*\))').sub(r'\1.\2','way, to ,explore , ( 11,11abc)') |
2
imn1 2016-02-17 20:16:22 +08:00 2
(.+\(.+),
=> $1. 写完觉得这个正则很美, 2333 |