Moved all the regexes into configuration files