Use hash table to remove multiple gsub