Weekly Challenge

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

Awesomeville
7 - Meteor

My solution for Challenge #4 as per attached.

jdemeaux
8 - Asteroid

Cool to learn RegEx stuff! Thank you!

LukeM
Moderator
Moderator

Nice fun RegEx exercise. Always easier to use https://regex101.com/ to check your code.

Ziggy77
7 - Meteor

Well, after looking at the posted solution, mine doesn`t seem to be the optimal one :) But it is a solution :)

Shifty
12 - Quasar

I think this is my first crack at an advanced challenge and I have to say, what I did isn't pretty but I got the answer in the end.  If for whatever reason you did download my solution, you'll see I then went back and did it a quicker, nicer, better way (hence why the workflow splits after the first filter).

 

I apologise to everyone who sees this:

Spoiler
Challenge 4 Flow.jpg

 

bklninjah
7 - Meteor

My solution. I don't use a lot of RegEx so this was a good practice.

mgcarrenard
7 - Meteor

My Solution

pfredin
7 - Meteor

My solution.

bkclaw113
9 - Comet
 
gdell
7 - Meteor

This one took me hours to try and resolve... It was was certainly difficult and solution not pretty, but here it is...

 

PS. Be careful with one... I've seen a few solutions where the final result was actually incorrect (i.e. the wrong year calculated). It clearly is an advanced challenge!

 

Please let me know if you find any errors in my solution #alwayslearning