利用正则从文本中抽取中文文本 import re text = "中国面积为960万平方公里" regStr = ".*?([\u4E00-\u9FA5]+).*?" ch = re.findall(regStr, text) # 返回列表 if ch: print(ch)