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

AryCardoso
8 - Asteroid

.

JamesBills
8 - Asteroid
Spoiler
JamesBills_0-1587136414335.png



(\d{7})(.*) (\w+) \((\d+)\) CAT:(.*) PUB:(.*) \$(.*)million, \$(.*)million, \$(.*)million, \$(.*)million, \$(.*)million

Dominik2806
8 - Asteroid

Nice one...

Spoiler
Dominik2806_0-1587370372169.png

 

RobertOdera
13 - Pulsar
Spoiler
207_Spoiler.PNG
paul_houghton
12 - Quasar

It all seems to be regex at the moment. Maybe its just me 🙂 (Check out the live stream to see me fumble around 🙂 https://youtu.be/-FA9lPdiHNc

 

Spoiler
paul_houghton_0-1587654861050.png

 

Completing Alteryx Weekly Challenges Live So you can see how to do it yourself
Niklas
8 - Asteroid

Game on!

ponraj
13 - Pulsar

Here is my solution

 

Spoiler
Capture.PNG
LiD
8 - Asteroid

Regex is really strong but really needs exercise. Sometimes split to columns by specific characteristics may be easier.

Spoiler
LiD_0-1587895809521.png

 

JeremyGonzva
8 - Asteroid

OK, I'm starting to love RegEx.

Here's the one I used

 

^(\d{7})(.*)\s(\w+)\s\((\d{4})\)\sCAT:(\w+-?\w*)\sPUB:(\w+-?\s?\w*-?\s?\w*)\s\$(\d+\.?\d{0,2})million,\s\$(\d+\.?\d{0,2})million,\s\$(\d+\.?\d{0,2})million,\s\$(\d+\.?\d{0,2})million,\s\$(\d+\.?\d{0,2})million$

 

Kale_Malcom
8 - Asteroid
Spoiler
Kale_Malcom_0-1588027340537.png

 

Kale_Malcom_1-1588027361311.png

 

 getting more comfortable with Regex, in the past I'd have probably done this in pieces with text to columns and formula tools.