How to search and replace all

How to search and replace all

I would like to search for all records that have an account ownership of X and replace the account owner on those records only with Y.  Does anyone know how I can do this?