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

Lucatelli
8 - Asteroid

Please find attached my solution.

cody_rush
7 - Meteor
Spoiler
cody_rush_0-1587678086985.png

 

FredNajjar
9 - Comet

 

Spoiler
Screenshot_7.png

 

 

balajilolla
8 - Asteroid
Spoiler
Spolier Solution Attached
JeremyGonzva
8 - Asteroid

I'm so glad I got there by myself!

I know my RegEx isn't perfect, but it does the job

 

[A-z]*(\d{1,2}-\w{3,4}-\d{2,4}).*|.*(\u\l{2}\s\d{1,2},?\s\d{4}).*

 

 

KGS
8 - Asteroid

Hi,

 

A perfect exercise on testing regex skills; Tools used, regex parsing (to extract date), and formula to create date format.

 

Attempt to keep it simple.

 

Best

 

G

 

devX511
7 - Meteor

Parsing perfect!

 

AlexC2
8 - Asteroid

done with some DateTime Tools and Regex

deepaprash
8 - Asteroid

Solved.

hieu_hoang
7 - Meteor

There are much to improve but I am glad that I could do this myself.