Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAFun with Regex...
Solution attached,
Real nasty one this one, didn't think it was worth making anything re-useable, just got what I needed.
There's a video about the Alteryx Analytics gallery where someone (can't remember his name) talks about including some python date parsing tool. Sounds cool, didn't have time to hook it up but would have been nice to see it here.
Thanks,
Michael
First time posting a challenge. I knew nothing about RegEx walking into the challenge. I reviewed various solutions, comments, and my friend, Alteryx Help Center. I normally wouldn't share since I did not solve this on my own. However, I learned a lot through this, so I was able to figure out a slight variation with my RegEx Expression. I got excited! :)
I used regex to extract the dates, then the datetime parse tool to tidy up - I learned that you can use a wildcard * in the datetime parse tool which is pretty nifty!
Regex used was \d{1,2}\-\w+\-\d{2,4} | (or) \d{1,2}\s\w+\s\d{2,4} | (or) \w{3}\s\d{1,2},?\s\d{4}