Completed 09. Not as elegant as other solutions I looked at due to the lack of regex