def fine_word(text_raw): """ :param text_raw: 文本 :return: 返回中文字符串 """ text = "" regStr = ".*?([\u4E00-\u9FA5]+).*?" re_text = re.findall(regStr, text_raw) if re_text: for res in re_text: text = text + res return text