Skip to content

Remove content when CMS page is viewed?

Magento 2.4

Is it somehow possible to remove parts of the content of a CMS page before it is shown to the user? Is there a renderer I could overwrite?

Example: The content of my CMS page is this: hello world, what a nice day today!

Before it is shown to the user, I want to remove the “today”, but not from the page itself, just when the page is being viewed.

Possible?