This could theoretically be done with some very careful use of Find-and-Replace with regex searches. [Example that doesn’t quite fit what you need, but shows you what would be involved: Multiple Find and Replace - #2 by kleinerpirat .]
- How are you with regex? [And “I don’t even know what you’re talking about” is a perfectly acceptable answer!
] - How many notes do you need to do this to?
- Is the text fairly regular/consistent – which makes the likelihood of being able to do this much better?
[I’m sort of surprised there isn’t already an add-on that does this, but I don’t see anything promising.]