Find and replace utility function complete.