# Text replace with an input

**URL:** <https://community.make.com/t/text-replace-with-an-input/55347>\
**Category:** Questions\
**Tags:** text-replace\
**Created:** [September 18, 2024, 12:14pm UTC](https://community.make.com/t/text-replace-with-an-input/55347 "2024-09-18T12:14:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cchulia](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cchulia](https://community.make.com/u/cchulia)\
**Post date:** [September 18, 2024, 12:14pm UTC](https://community.make.com/t/text-replace-with-an-input/55347/1 "2024-09-18T12:14:51Z")

</div>

Hi. I’m trying to replace the text in an input and then update that text somewhere else to “clean up” a database, but I can’t get “replace()” to work.

My original idea was to extract the information from Notion, set a variable with the replaced text, and then update the database item with that variable, but the output of the text replace is the same as the input, nothing changes.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/f/bfc3722e91fa686115d01d95f9f10d8b23d253f8.png)

I tried with plain text, and it works, but nothing on the input is working. (I know there’s a closing parenthesis missing in the img, that’s not it. 😅)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [September 18, 2024, 12:32pm UTC](https://community.make.com/t/text-replace-with-an-input/55347/2 "2024-09-18T12:32:11Z")

</div>

You should remove the double quotes from your function.

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make.

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [September 18, 2024, 12:40pm UTC](https://community.make.com/t/text-replace-with-an-input/55347/3 "2024-09-18T12:40:57Z")

</div>

Hi @cchulia

You can try this:  
{{replace(1.text; “My contacts”; emptystring)}}  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/6/a639e0a5be05e7c4e55be2370aea8a8936b4eeff.png)

**Best regards,**

**Msquare Automation**  
_Gold Partner of Make_  
@Msquare_Automation

---

<div class="post-metadata">

**Author:** ![cchulia](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cchulia](https://community.make.com/u/cchulia)\
**Post date:** [September 18, 2024, 1:36pm UTC](https://community.make.com/t/text-replace-with-an-input/55347/4 "2024-09-18T13:36:17Z")

</div>

Thank you both! That was surpringsingly easy to fix, I had tried without the double quotes, but I was missing the emptystring, trying to use just blank space for it, which was the problem.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [October 2, 2024, 1:37pm UTC](https://community.make.com/t/text-replace-with-an-input/55347/5 "2024-10-02T13:37:24Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


