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 #207: Parsing Video Game Data

tristank
11 - Bolide

Good regex practice

 

Spoiler
Screenshot 2023-08-17 135007.png

 

 

 

clm_lamb
6 - Meteoroid

My solution using regex tools

 

Spoiler
First I'm using regex parse method to split the dataset into several columns and collect only usefull informations, my pattern is : 

(\d+)(.+)\s(\w+)\s\((\d{4})\)\s\w{3}:(.+)\s\w{3}:(.+)\s\$(.*)million,\s\$(.*)million,\s\$(.*)million,\s\$(.*)million,\s\$(.*)million

Then I'm using regex tokenize method to rename column dynamically, my pattern is :
([^|]+)


Capture.PNG
Filippo
6 - Meteoroid

Just getting started with Regex. Surely not the most efficient way to do this but it worked.

gawa
15 - Aurora
15 - Aurora

Done

Tejasvi17
8 - Asteroid

Solution

nicks2587
7 - Meteor

Completed

Anita-til
8 - Asteroid

Got there.

Spoiler
Screenshot 2023-08-30 094359.png

mithily
8 - Asteroid
Spoiler
used regex and struggled because I forgot to trim the field first- drove me nuts and wasted hours
sarahkelly
8 - Asteroid

Kicked off my Friday morning with some sweet Regex. Attached is my solution to Challenge #207: Screenshot 2023-09-08 082212.png

ArisaOkada
8 - Asteroid

My twenty-sixth workflow!