---
description: Replace tokens with other values
---

# Text Tokens

Text tokens allow you to find text and replace it with another value.

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-LopzlO9z2A_KCLYytxA%2F-Loq-fENcQl3Amn7r3CQ%2Fimage.png?alt=media\&token=df72fc04-5319-40fc-a039-0152a5cc290f)

The text to find and text to replace is a name and value pair written as, “name:value”.

{% embed url="https://www.youtube.com/watch?v=J0_aMwZHRMc" %}

For example, if the text in a text field was, “Click here to go to the home page.” and you set the text token as,

`here:<a href="/home">here</a>`

then the final HTML output would be,

`Click <a href="/home">here</a> to go to the home page.`

Separate each text token name and value pair with a semicolon.

`word:replacement;phrase:replace`

If either the name or the value contains a colon then use double colon to separate the name and value:

`text::<a href="http://">text</a>`

To remove text leave the value empty:

`word:`

To use text tokens select a text field and open the element options:

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-LopzlO9z2A_KCLYytxA%2F-Loq-xWeOKbw-eXc8P3s%2Fimage.png?alt=media\&token=794e0d96-5332-4246-a89e-a04e592933ff)

In the Text Tokens field enter the text you want to find and then the text you want to replace it with:

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-LopzlO9z2A_KCLYytxA%2F-Loq08M585aOfZLNi4Kk%2Fimage.png?alt=media\&token=dc923610-0716-4a5e-9b43-8ccaf587b153)

Before:&#x20;

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-LopzlO9z2A_KCLYytxA%2F-Loq0DGgRynUhgSoW936%2Fimage.png?alt=media\&token=7979e67a-8f5b-4ac6-b974-86054e438b5a)

After:&#x20;

![](https://735683391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWpp_0PwLnj_AXGL2u7%2F-LopzlO9z2A_KCLYytxA%2F-Loq0G4kAOb2Yn7xT7DO%2Fimage.png?alt=media\&token=528886f2-ae03-4aab-93c2-b5021ceadf8a)
