As requested, here the option to replace text in notifications. You can add multiple replacements, configure each one to replace inside notification title, content, messages and/or notification actions.
You can replace individual words or, by leaving the ‘Replace’ field blank (Everything), the entire text. You may also leave the ‘With’ field blank (Nothing) to remove the item altogether.
For example, a replacement (Everything) > (Nothing) using ‘Replace in messages’ and ‘Replace in actions’ would remove the past messages list in WhatsApp and also the Reply to… action button.