More flexible options for RegexRouter to replace string

Hi, I want to get advice and suggest for replacing string of the topic.

Is it possible to giving some function or option such as drop / replace / join / etc?

Source String: server_name.db_name.table_name_suffix1
Expected String: prefix-tablename
“transforms.AddPrefix.function”=“drop $3, “_””

Or it would be good to provide another transform option.

“transforms”: “StringFunction”,
“transforms.StringFunction.function”=“drop $3, “_””
1 Like