[DTR] text to be replaced with different colors

Hello, what would happen in this case, when the piece of text to be replaced has different colors? Thank you!