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.
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!
A lot of data prep questions I get asked about seem to come back to the same answer - "Use Regex!"
However, RegEx isn't exactly easy to understand for someone who has never come across it before.
This is how I started out, but by dissecting other peoples' uses of RegEx, I started to understand how RegEx works and now I seem to use it in pretty much every workflow I create (slight exaggeration).
So I decided to upload the attached workflow that has 12 use cases for RegEx for you to use, adapt, learn from and improve on. Please download the attached Alteryx workflow and explore what's going on and you'll soon be more than comfortable with RegEx too!
Feel free to upload your use cases for RegEx on this discussion post, along with examples, and perhaps we can start to create a small repository for everyone - from RegEx newbies to those highly skilled in this complex but extremely useful tool.
Thanks for sharing! This beats my RegEx cheat sheet. Being a total novice to RegEx, this type of workflow example is a great help. I loved to see if you come up with any other common scenarios that aren't covered in the samples.
Thank for the regex examples. I have a question for you regarding regexmatch. If i have two columns A and B containing some of the sane type of data. A is the data than i want to be matched exactly whereas B can contain redundant data.I want to be able to match and parse out the total numbe of exact matches between the two column using regex. do you have an idea to how to do that?