Python字符串处理 找出所有的中文文字 def totext(text): chinese_text = re.findall(r'[\u4e00-\u9fff]+', text) return chinese_text