Revert "Added function to delete all keys matching a pattern"

This reverts commit 5747e586436bc4ab6107b04ce010db5828dab6cf.

Pulling this out so I can make a merge requeset.