# \[APP\]\[Pro\] Telegram

**URL:** <https://community.homey.app/t/app-pro-telegram/66622>\
**Category:** Apps\
**Tags:** app, flow, homey-pro\
**Created:** [July 28, 2022, 1:34pm UTC](https://community.homey.app/t/app-pro-telegram/66622 "2022-07-28T13:34:36Z")\
**Posts on this page:** 1\
**Showing post:** 318

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [August 27, 2023, 9:16am UTC](https://community.homey.app/t/app-pro-telegram/66622/318 "2023-08-27T09:16:19Z")

</div>

> [@Mariomark1541](#):
>
> If I have a normal flow and worry (bold), then I’m  
> Sending a message

Because you’re using variables that use SPECIAL characters. e.g `. , * / & % $`  
And Telegram can’t differ from a Markdown SPECIAL character.  
So these non-Markdown Characters have to be escaped using a `/` e.g., `/(` or `/*` or `/,` since you can’t do this, because you’re using variables, you have two ways to fix this. Either use HTML Markdown or use Better Logic Library and add a custom function for escaping

Like this one and use it like this: `{[escapeRegex(variable)]}`

```auto
function escapeRegex(string) {
    return string.replace(/[/\-\\^$*+?.()|[\]{}]/g, '\\$&');
}

```

---

_[View the full topic](https://community.homey.app/t/app-pro-telegram/66622)._
