import re
text = "[(u'apple',), (u'banana',)]"
print(re.findall(r"'([^']*)'", text))
