Generation

generate functionThu, 25 May 2023

Identify all of the Chinese characters

import re def chinese_char(string): match = re.search(u'[\u4e00-\u9fff]+', string) if match != None: return True else: return False

Want to kickstart your project?Use the new AI Studio to create your code