def addy(x): mi = re.findall(r'\d+?[A-Za-z\-\,\ \d+]{4,}', x) return mi ####################### Test addy # x = "I liked their services 22000 moross rd, detroit MI 48236" # w = addy(x) # print(w) # Cleans up addy and limits the additional data that is identified as part of the address.