Converting text to a slug

Someone reached out on support to ask about converting text to a slug. For example, with a string of “This is an Example”, convert to “this-is-an-example”. The solution I gave highlights a formula I really like - RegexReplace(). Knowing people in the community are at different places in their Coda journey, I wanted to share in case it’s new for you!

This allows you to replace a specified value in a string, which is what I used in this solution to replace spaces with dashes.