The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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 #35: Data Cleansing Practice

NaiLo
8 - Asteroid

  

vsetia46
7 - Meteor
Spoiler




More than 8 and 6 length casesMore than 8 and 6 length casesRemove ID at the endRemove ID at the endRemove Leading 0 and descriptive textRemove Leading 0 and descriptive textRemoved Leading ZeroesRemoved Leading Zeroes

Very Interesting Problem, How Can I Do It Better ?

jyojyoti
6 - Meteoroid

Hi,

Here you go

jguerrero
Alteryx
Alteryx

My solution:

balajilolla
8 - Asteroid

 

 

Spoiler

Solution Attached

balajilolla_0-1590078882091.png

 

izamryan
8 - Asteroid

RegEx is your friend, I recommend my fellow Alteryxers to check this out:

 

https://regexr.com/55545

 

You can use GitHub to sign in

 

Spoiler
izamryan_0-1590156506521.png


My regexs to solve were:

.*(\d{4}).*

(0*)(\d*)
and strip out the 1st token, just take the 2nd token

(ID)$
strip out the string "ID" from every line

\w{8}
this needs to be paired with a formula before:
IF Length([Safety Code])<8 THEN "SC"+[Safety Code] ELSE [Safety Code] ENDIF

deviseetharaman
11 - Bolide
Spoiler
 
deepaksaldanha
6 - Meteoroid

Solution to challenge 35.

Bonero
6 - Meteoroid

my solution

Ashley_Grimes
7 - Meteor

Be well!