If the changes are big, then If.
If the changes are small, Multireplace may be your best bet.
I’ve posted about multireplace here: Ultimate Noob Coding
Here: Ultimate Noob Coding (story examples)
And here: Code Help? Enableing and or disabling certain texts
I hope that helps!