Python版本:3.4.1 >>> import re >>> punc = '[,.!\']' >>> data = 'a,b.c!d\'' >>> print (re.sub(punc, '', data)) abcd