I came across this on a BBC webpage:
“If preferred, substitute chickpeas with butterbeans or cannellini beans.”
I would say either:
“If preferred, replace chickpeas with butterbeans or cannellini beans.”
Or
“ If preferred, substitute butterbeans or cannellini beans for the chickpeas”
However, I come across this so often, I’m wondering is it just me?