adds regex matching to try and replace spaces and special chars with dashes