Replaced a few if conditions with regular expressions to simplify the statements

Did an attempt to simplify the if conditions by replacing them by regular expressions.
Feel free to correct any mistakes or improve the patterns, first time working with Go.

Also tried to improve the readme a bit with links and styling. Not sure if everything would work as expected for Linux as I'm currently on Windows.