> For the complete documentation index, see [llms.txt](https://200ok.gitbook.io/200ok-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://200ok.gitbook.io/200ok-documents/user-manual/built-in-functions/text/escapemarkdown.md).

# escapeMarkDown

escapeMarkDown() function is the Standard function available in 200OK.

**Description**  : The escapemarkdown function processes a string by removing underscores, hyphens, and other special characters, resulting in a sanitized string containing only alphabetic characters.

**Syntax** : fx\_escapemarkdown()

**Example :** "fx\_escapemarkdown(c'e\*p\@t-e\_s&%$#!)" it returns "ceptes"  by removing all the special characters.

**Scenario** : In an online forum platform, users are posting comments containing special characters such as underscores, hyphens, and asterisks, which might interfere with the formatting of the text. To ensure proper display of comments, the fx\_escapemarkdown function is employed to sanitize the text by removing these special characters, improving readability and user experience.

<br>

<br>

**Request Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/SyONMFNDZOYaWtgV_fj9Ew90Neuxdr1wQom3z5KmM2QlP1lElXaGfdfhFHW8wX0hNUVK65dhdiDHYWsNHL0eN1VI1bC3VU1BNnJibLfRLFV7-3bMmW7isk7M79Nln95h_D22rhQ7yYdDPouEJAjralk" alt=""><figcaption><p><strong>Passing the value inside the function</strong></p></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/aySyV8ozrZHGMkZVNWkLniwwxcaI5k0FUabuPUUdaf3mnMjSrhlLzuPLO2jCgPZ8vb-cf5Rbu-bFoLHy4RsdbRAhbK-BlA-pSzTm4w2K6MoKSfh9nUINZ8OF0R0Lx7-4QZuLWNtHYvtgHG6Izj9clNE" alt=""><figcaption><p><strong>Passing the value inside the function using index pattern</strong></p></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/53s65wgv_Vl3lqD5MZI6-rRLnHdQuGZ-LyTeqRgVWXHQYQl4PCt5Py56NBbbqC3PVnCpquIkNa9pzeprqh2JAIXS5a9RSk86_vUqAqXlvoIprtbGTnr65A4R-GwzCgb4-lLD1oEPd4klyJjXjgMa5M4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/UunxNxuTuHisMjzTT_U7FJ3P7zbIuKNKxIESLdXWQR8lDAkjSB4MTu91j_ACmp0ltlrSF8wusLh_ISQg24-Z8vLnkRIvuZ5PVpZTRSkmK3xWdS4QA1jCCBLqOoSqiVbUnx2khdJfoTZbXRdLrY3P-KE" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/bkrumYUUC-ZFzkD-5cBMHSfDbK5JXbAi5EjdJCIRxikE6LXGov0Fd7jNyDTz8ZFrpTpc706KNYU79uGtJhntLLDxbMpeUEjt10V1IwMFItIz9wyYMqSSsQVDEj3qMZjvMwF6hjJWB5ebNBpa_lQ8NDo" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/MWE1CZ4kDagfei-nOXimMYhKxlRAkfGv1iioDEAM0vl4IR60TkM8N7TLj1djlz6QeRqGiE71k_5HctdbZsJuzTXpac5KXB6OfoOIWKgq5pWCnbSR7juwrVIPg2pjbT8BHo2eR1ozsYyEmt_LUqkrIHI" alt=""><figcaption></figcaption></figure>
