How Do You Remove Mentions, Hashtags or Emoji From Forwarded Telegram Messages?

Some sources pack every post the same way: the channel @handle at the top, a row of hashtags, a shower of emoji. Text cleanup takes any of the three out before the message reaches your destination, in one block with three switches and a live preview.

Where the block lives

Open the rule editor, go to the Transform tab and find the block called Text cleanup, titled "Clean the text". It holds three separate switches โ€” Mentions, Hashtags and Emoji โ€” and a Preview that shows the same message before and after, so you can see on a real post what each choice removes.

The helper text in the editor says it plainly: "Removes mentions, hashtags or emoji from the message before it is forwarded." A second line points where not to look: "Links are handled separately, in External links below."

The three switches

  • Mentions removes @names of the shape Telegram allows, at least five characters after the @. The typical use is dropping the original channel's @handle that repeats in every post of the source.
  • Hashtags removes the # together with the word after it. Accented letters and non-Latin alphabets are handled: a hashtag written in another language comes out whole.
  • Emoji removes emoji, pictograms, flags and similar symbols โ€” everything that is a picture rather than a letter.

The text is stitched back together

Removing a word leaves a gap, and a gap left open looks like a mistake. After the removal the text is stitched up: double spaces are closed, a space hanging before punctuation is taken away, and extra blank lines disappear. The message does not arrive with holes where the removed pieces used to be.

Cleanup applies to the text of the message, and to the caption of a photo or video. Nothing else on the message is touched by it.

Filters run before cleanup

The order is fixed and it matters: the filters of the rule look at the original text, before cleanup has changed anything. A keyword filter that matches a hashtag still matches, even with the Hashtags switch on and the hashtag then removed from what arrives.

In other words, cleanup decides what the destination sees, not what the rule matches. If a hashtag should decide whether a message travels at all, keep the filter and let cleanup tidy it away afterwards.

What changes about delivery

Because the text is changed, the message is rebuilt rather than relayed untouched, and the usual consequences of any transformation apply: the buttons under the message are lost unless Ghost Mode is on, and an album arrives as separate pieces. The guide on what exactly arrives in the destination covers both limits.

Links are not part of cleanup at all. The External links block is where links are kept, removed or rewritten, and it has a guide of its own.

Which plans include it

Text cleanup is part of the paid plans from Smart upwards; the comparison is on the pricing page.

Common questions

Will a keyword filter still match a hashtag that cleanup later removes?

Yes. Filters run on the original text, before cleanup changes anything. The hashtag decides whether the message passes, and is then removed from the copy that arrives.

Does cleanup touch the links in a message?

No. Links are left alone here and handled by the External links block instead, which keeps, removes or rewrites them.

Does the cleanup work on the caption of a photo?

Yes. It applies to the text of the message and to the caption of a photo or video alike.

Why did the message arrive without its buttons?

Changing the text means the message is rebuilt, and buttons survive a rebuild only with Ghost Mode on. The same applies to albums, which arrive as separate pieces once the message is rebuilt.

Try Phantom Forwarder free

7-day trial, unlimited rules. Cloud-based, anonymous, nothing to install.

Related

More guides