I am using below code to search pattern in string in if condition but i need to use OR in condition..How can i do that
if re.search(r'uk', result):
I wanted to have like below:
if re.search(r'uk|eu', result):
but somehow its giving error
is this syntactically correct ?
Aucun commentaire:
Enregistrer un commentaire