How to replace a re occurring name or word ?

Originally posted this in the wrong forum. Hope this is the right one.

Some word processors allow you to replace a repeating word ( such as a name). I think they are referred to as “ Macros”.
I have a story that uses a persons name. For privacy reasons I have to replace this name throughout the whole document.
Rather then manually finding where this name occurs and replacing it each time ( eg : changing the name Paul to Peter throughout the whole story), is there any way this can be automatically set up ?

Edit -> Find -> Project Replace.

Make a backup first, for obvious reasons.

Remember to also check for variations: Pete, Petey, Mr. Smith, etc.


Thank you for that. I will give it a try.