How can i get numbers from a string? (custom app)

Hi there.
Im creating my own app on Make, and im trying to use the formula Replace to remove symbols and spaces from a string and get only the numbers. Ex. Input: (299) 468-4362. Output i want: 2994684362.

I wrote this but it’s not working:


Hi. Use the match replace and an regex like this (as global)


If you need additional support, please don’t hesitate to reach out.