How to remove digits from a linkedin URL

I need a formula to trim the end of the url and remove all the digits after the url.
example https://www.linkedin.com/in/test-407148/ i want the output to be just https://www.linkedin.com/in/test/

Hi @Michael10,

Welcome to the community. If the digits are always split by an -, you can use the split() inline function and then get() to get the first part (which is everything before the -)

Cheers,
Henk