Change regex for getting tags
Refactor how $format is parsed to RegEx
Edit README.md