# Funcion replace

**URL:** <https://community.make.com/t/funcion-replace/58213>\
**Category:** Questions\
**Tags:** text-replace\
**Created:** [October 18, 2024, 8:53am UTC](https://community.make.com/t/funcion-replace/58213 "2024-10-18T08:53:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doble\_B](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@Doble\_B](https://community.make.com/u/Doble_B)\
**Post date:** [October 18, 2024, 8:53am UTC](https://community.make.com/t/funcion-replace/58213/1 "2024-10-18T08:53:13Z")

</div>

Good afternoon, I am trying to remove everything that is not a number from a string received by a webhook, but I can’t manage to do it with the replace() function.

Thanks

---

<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:** [November 7, 2024, 4:37am UTC](https://community.make.com/t/funcion-replace/58213/2 "2024-11-07T04:37:23Z")

</div>

Hi @Doble_B,

To remove everything that is not a number from a string, you can use the `parseNumber` function.

 ![Screenshot 2024-11-07 at 10.02.53 AM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/f/af291cd06b04be200f73ef34aa88b4e4992fd0de.png)  
 ![Screenshot 2024-11-07 at 10.03.05 AM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/3/53d75f5087e2b655e199e4bba31863f3a228a812.png)

**Best regards,**

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

---

<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:** [February 5, 2025, 4:45am UTC](https://community.make.com/t/funcion-replace/58213/3 "2025-02-05T04:45:35Z")

</div>


