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.
The highly anticipated Alteryx Community tradition is back! We hope you'll join us!
Learn MoreHello --
I am working on a project and have a challenge that is eluding me. I have concatenated about 7 fields using a comma (,).
1) ,,,,CBC500,,,,CBC501,,
2) ,,,,,CBC100,,,,,
How do I keep a single comma to delineate, but remove any unnecessary commas. So for item 1, I want to see:
CBC500,CBC501
Thanks,
Seth
Solved! Go to Solution.
Wow! That worked! Now ask me if I understand why it worked.
Thanks,
Seth
This is genius! Thank you!
could the same formula be used to get rid of multiple words? I have a concatenation which ends up with OCC,OCC,,,,OCC, . I'd like to get rid of the commas (which your regex does, thank you), and I'd like to get rid of the repeating OCC. Would it be something like \w(OCC){2} in the statement instead of ,{2,}.
You're good @MarqueeCrew , very, very good!