Change a character name in all dialogue

Hi, as the title says is there a way to change a character name for all dialogue instead of going through all the json file and manually change the name everytime its appear?
You can just use a text editor like Notepad++ to change all occurrences of the name in the JSON file.

You can replace it with a text code to avoid future editing - if you mouse over the Show Text window, it gives you a list of codes, and \N[x] is the name of actor ID x.
Edit: Turan beat me to it, deleted😀
You can just use a text editor like Notepad++ to change all occurrences of the name in the JSON file.

You can replace it with a text code to avoid future editing - if you mouse over the Show Text window, it gives you a list of codes, and \N[x] is the name of actor ID x.
Yeah I know that with notepad++ you can change it but as far as I know I can only change it manually everytime it appear, can I use that code once per json file(and it change all in it) or I have to do it for all the time it show in the file? Sorry I’m a noob with code etc.
Open all your map.js (and any other .js files where the name may be used like troops for example), hit ctrl+f, click on "replace all in all opened documents".
1688741673010.png
as far as I know I can only change it manually everytime it appear, can I use that code once per json file(and it change all in it)
Everything that's more advanced than Notepad (Notepad++, Microsoft Word, Google Docs...) has a "replace all" option.

Notepad++ additionally has the ability to do it across multiple files at once, as @SGHarlekin showed you. (you can even tell it a directory, you don't have to actually open all of the files)
Thanks you two that solved it!

Original thread: https://forums.rpgmakerweb.com/threads/change-a-character-name-in-all-dialogue.159061/