---
url: /set-instructions/remove-items-using-the-next-instruction.md
description: >-
  A modifier that removes from the working set whatever elements the next
  instruction specifies.
---

# Remove Items Using The Next Instruction

A modifier instruction - it doesn't add elements itself. It removes from the working list whichever element(s) the *next* instruction specifies. Useful for excluding one or two specific elements from a working list that was built up from a broader selection, without hand-picking the rest of the elements you want to keep.

#### Example

```
1. Element: All Products
2. Expand All
3. Remove Consolidations
4. Remove Items Using The Next Instruction
5. Element: Discontinued Sample Pack
```

Builds the full flat list of products, then removes just `Discontinued Sample Pack` from it - without having to rebuild the whole set element-by-element.

![Remove Items Using The Next Instruction strips one named element out of an otherwise-unchanged working set](/set-instructions-example-remove-items.svg)
