When replacing the letter Y does not give the desired result

 

v20240901