Hi all, I am working on a saved search formula which I wanted to discuss - it is a saved search for products displaying their name in a specific format (for Name -convert all special characters & spaces to hyphen (-)) (edited)
Formula used - Formula (Text) REGEXP_REPLACE(LOWER({name}), '[^0-9A-Za-z]', '-') (edited)
In this formula, everything works except, there are sometimes space and special characters back to back so we get outputs such as "abc---123-test"--> we want to display it simply as "abc-123-test".
I want to confirm if there is a way to further replace the hyphens with a single hyphen if there are more than one hyphens?