03/13/2019 / Python Python 判断字符串是否包含中文 if re.search(ur'[\u4e00-\u9fff]+', str) is not None: pass # 表示包含中文