My attempt at a RegEx solution

Fixes #19
Agree, my mistake. I will update it later and also alter the Changelog and verision os this pull request updates.