$ is again, not in the regex.
(The $ in the above regex is to show the end of the regular expression, and is not part of the character set)
Dots would work, the only problem being the MQTT-Kafka-Bridge.
It will convert . int / when going from Kafka to MQTT.