In game usage
- Place hopper in anvil
- Rename hopper to Item ID or Java8 Regex (e.g. minecarft:chest, minecraft:oak_log)
Example:
Hopper to filtering leather:

"minecraft:leather" for leather chests
"minecraft:leather|minecraft:chest" for leather or chest