📅  最后修改于: 2022-03-11 14:45:12.623000             🧑  作者: Mango
string = "Daneshwar$/?$Daneshwar"
regex = re.compile('[@_!#$%^&*()<>?/\|}{~:]')
if(regex.search(string) == None):
print("special is absent")
else:
print("present")