How to apply a Regex filter to incoming MQTT (version 2) messages?

But for answering just the topic “regex a mqtt2 message” see: