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 #188: Difficult, but not im-parse-able

dsmdavid
11 - Bolide

A bit of regex to the rescue

Spoiler
dsmdavid_0-1580981975130.png
mikeprice17
8 - Asteroid

Wahoo

jallen297
7 - Meteor

My solution:

 

Spoiler
jallen297_0-1581432643351.png
moritzsturm
7 - Meteor

Solution attached.

lordoforange
7 - Meteor

Well this was pretty messy, but i got there, haven't RegEx'd in a long time...

Amin
8 - Asteroid
Spoiler
188_Amin.PNG
KevinTang
8 - Asteroid

finished long time ago, the workflow may need some optimization, but I don't have the nerve to revisit the challenge again, haha

codeRX
5 - Atom

Once you get the RegEx right, the rest is easier. I find .txt files are difficult to work with in general.

 

Spoiler

My RegEx code:

\|\s*?\d+\s*\|\s*(\d{3}-\d{2}-\d{5})|(\d{10})\s*(\u{2})\s*(\d{4}-\d{2}-\d{2})\s*(\d{4}-\d{2}-\d{2})\s*(.*?)\s*([A-Z][0-9])\s*(.*?)\s*\|
Challenge_188_RegEx.JPGChallenge_188.JPG

  

 

atcodedog05
22 - Nova
22 - Nova

atcodedog05_0-1586103742858.jpeg

 

Spoiler

This is my solution

atcodedog05_1-1586103769252.png

 

 

jasperlch
12 - Quasar
Spoiler
Capture.PNG