replace with vs replace by what is the difference, with examples

replace with

replace by

You may also like: