use single input for multiple replacement example