Checkr Interview Question

I was asked to parse through an address string to retrieve the components like street, unit #, zip code, etc