Use the delete_matching action.
Deletes all components of the specified header that contain a substring matching a regular-expression
Note: An error results if two header modification actions modify the same header. The error is noted at compile time if the conflicting actions are within the same action definition block. A runtime error is recorded in the event log if the conflicting actions are defined in different blocks.
define action deletecookie