commentary = soup.find('div', {'id' : 'live-text-commentary-wrapper'})
findtoure = commentary.find(text = re.compile('Gnegneri Toure Yaya')).replace('Gnegneri Toure Yaya', 'Yaya Toure')
Commentary contains various instances of Gnegneri Toure Yaya that need changing to Yaya Toure.
findAll()
doesn't work as findtoure is a list.
The other problem I have is this code simply finds them and replaces them into a new variable called findtoure, I need to replace them in the original soup.
I think I am just looking at this from the wrong perspective.