The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #4: Date Parsing

FinnCharlton
Pulsar
Spoiler
FinnCharlton_0-1670605218716.png

 

davidnordstrom
Meteoroid

4

JoeChan619
Asteroid

I think this challenge should not be categorized as difficulty level. Using Regex can solve it easily.

Ereon
Meteor

Learning how to master RegEx is fun!  Was able to get a simple RegEx to parse out the dates into only 3 columns but then had to do more to Replace those to match the majority column.

First RegEx used:
(\d*-\u+-\d*)|(\w+ \d*, \d*)|(\w+ \d* \d*)

lhalliwell
Asteroid
Spoiler
Regex: ((?:[A-Za-z]|[0-9]){1,3}(?:\s|-)\w{1,4},*(?:\s|-)(?:\d{4}|\d{2})),*'*\w+
Screenshot 2022-12-21 120530.jpg
Angelica_Obi
Asteroid

Spoiler

MajdiSalie
Meteor

Solution:

MajdiSalie_0-1671701631172.png

 

gautiergodard
Pulsar
Spoiler
Solution attached!
dwstada
Bolide

my solution :)

 

Spoiler
dwstada_0-1671722679527.png

 

TyroneW
Alteryx Alumni (Retired)

Challenge 4 attached.