i have this input text file bio.txt
Enter for a chance to {win|earn|gain|obtain|succeed|acquire|get}
1⃣Click {Link|Url|Link up|Site|Web link} Below️
2⃣Enter Name
3⃣Do the submit(inside optin {put|have|positioned|set|placed|apply|insert|locate|situate|put|save|stick|know|keep} {shipping|delivery|shipment} adress)
need locate syntax like this {win|earn|gain|obtain|succeed|acquire|get} and return random word, example : win
how i can locate this in python started from my code :
input = open('bio.txt', 'r').read()