import re
postcodes = re.findall('(\\w+)\\s+([A-Z]{3} \\d[A-Z]{2})', content)
print(postcodes)
Python - how to pull an address from a string or how to get the word before something thats on a different line?