Replace
This feature will not work if you enable "Show Forward Headers" in task list
➡️ Command Arguments
/replace ACTION LABEL Original_WORD -> NEW_WORD
➡️ USE Regex
/replace ACTION LABEL_regex Regex_syntax -> NEW_WORD
Use the syntax as shown below when you want to replace words or full paragraphs.
➡️ Change black to white
/replace add re1 black -> white
➡️ Remove keyword black from the message
/replace add re1 black -> EMPTY
We do not support usage of regex, you are on your own if you decide to use regex. Only use it if you know what you are doing.
➡️ Change good or perfect to bad
/replace add re1_regex (good|perfect) -> bad
➡️ Match every url or @mention and change it to @Auto_Forward_Messages_Bot `/replace add re1_regex (@|www|https?)\S+ -> @Auto_Forward_Messages_Bot
Last updated
Was this helpful?