alteryx Community

# 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.

## Challenge #188: Difficult, but not im-parse-able

14 - Magnetar

I resolved this from scratch as it was almost a year ago that I first solved this real-life challenge.  Much more efficient workflow now.  I use this as an example of the power of Alteryx.  This used to be a manually copied to Excel process from multiple files that took about 10 hours to complete for over 1500 lines.  Now it is seconds.

Spoiler

6 - Meteoroid

Thanks for making the challenge!

12 - Quasar
Spoiler
Initial filter : REGEX_Match([Field_1], '^\|\s{1,2}\d{1,10}\s.*')
Order of data in valid rows :  Start with | , 1 or 2 spaces , 1 to 10 digits, space and anything
Alteryx Alumni (Retired)

Talk about a real life example! I never would have figured this out from the instructions without seeing the output. This is why when anyone asks for help on the discussion boards we always ask for sample input and sample output.

8 - Asteroid

Regex is a blast as normal.

Big tip for geting some help with that regex: https://regex101.com/

Spoiler

Regex Used:
Vat No:
.*\|(\d{3}\-\d{2}\-\d{5})\|.*
Data:
^\|\s+(\d+)\s+(..)\s+(\d{4}\-\d{2}\-\d{2})\s+(\d{4}\-\d{2}\-\d{2})\s+([\d,-]+)\s+(..)\s+([\d,-]+)\s+\|
8 - Asteroid

12 - Quasar

All to familiar with the source of this messy data...

Spoiler
11 - Bolide

My solution 🙂

Spoiler
8 - Asteroid

Tricky one. Super useful though!

Spoiler
14 - Magnetar

Alot of Regex!

Spoiler
Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com