判断字符串是否含有英文
时间:2019-08-19 15:13:32
收藏:0
阅读:94
if re.search(‘[a-z]‘,creator):
creator = creator.replace("、", ‘;‘).replace(",", ‘;‘).replace(";;;;;", ‘;‘).replace(";;;;", ‘;‘).replace(";;;", ‘;‘).replace(";;", ‘;‘).replace("‘", ‘"‘).strip()
print (creator)
原文:https://blog.51cto.com/14265660/2430706
评论(0)