My attempt at a RegEx solution

Fixes #19
todos should be issues on the repo