add headers to delete request
fix regex so it only takes the first curly brace from expression