How to remove in export code name and tags appearing in text

That’s it, and it’s working!

Thank you so much for your last input, as well as for the previous ones. They are also valuable for me to go through their outcomes and attempt to understand how they are constructed.

As for a case insensitive version of .replace(), I see it was discussed in the forum as a possible feature request. Here I have adapted a previous solution that works -presumably except when the first character is a capital accented character, as reported in this topic.

I attach a sample file.

Export with text replacement.tbx (106.9 KB)