pattern = re.compile (‘(.[\u4E00-\u9FA5_a-zA-Z]+)‘)
cas_part_names = pattern.findall(cas_part_names)
cas_part_names = ‘‘.join (cas_part_names)[1:].replace (" (", ‘:‘).replace (");", ‘;‘).strip ()
print (cas_part_names)
原文地址:https://blog.51cto.com/14265660/2396076
时间: 2024-10-16 10:58:23