伟哥

def re_sign(s): try: s=s.decode('utf-8') except: pass r="( )|(")|(&)|[◑◐~?!@#¥%……&×()—+-={}【】,。、|;:‘’”“《》,。/?\'\"~!@#\$%^&*\(\)-=_+\[\]\{\}\:;<>,.\/\?\s]" s=re.sub(r.decode("utf8"),''.decode('utf-8'),s) return s

你可能感兴趣的:(伟哥)