Cleanup regexes.