How to replace particular word from string in excel without using For each

i dont want to use for each …
i was following this method but its not working for me