Settings > AI Config has a new Regex section. Fill in Find and Replace with, or leave it empty to remove; tick Regular expression to write a real regex.
Each rule can apply to the AI's replies or your own, on screen or in what is sent to the AI. With Sent to the AI on, the AI stops seeing the replaced words and stops copying them.
In a chat, select words in an AI reply and tap Never show this to add a rule in one step.
SillyTavern regex exports import directly. Saved messages never change, and switching a rule off restores them.