This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We are updating the requirements for Community registration. As of 7/21/21 all users will be required to register a phone number with their My Alteryx accounts. If you have already registered, you will be prompted on your next login to add your phone number.
I have some data that I need to add commas between, see below example.
abcdef I need formatted as a,b,c,d,e,f.
I currently have REGEX_Replace([Text], "", ',') where it gives me ,a,b,c,d,e,f,. I then have a separate formula to remove the front comma, REGEX_Replace([Output], "^(\W)", '') and third to remove the end comma, REGEX_Replace([Output], "(\W)$", ''). I can "nest" these together (REGEX_Replace(REGEX_Replace(REGEX_Replace([Text], "", ','), "^(\W)", ''), "(\W)$", '')) and it gives me what I need, but strictly for learning purposes, I am wondering if there is a more efficient way to do this.