Multiple replace what is the best solution to manage a large amount of replacements?

Solved with your suggestion, very good thanks :slight_smile:

Sorry if I took a bit of time but I know little about javascript but reading your post I understood how to create the code