Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Regex for Date

Pranab_C
8 - Asteroid

Hi Alteryx Champions,

 

Need help in extracting the numbers that are coming at the end. In the attached screen-shot, I would require -19,911 and 453,590 to come out into a separate column similarly 01/04/22 from the below string: 

 

Date entered..............................................................01/04/22

5 REPLIES 5
gawa
16 - Nebula
16 - Nebula

Try Regex tool or Formula's Regex_Replace function, with "^.*(\d{2}/\d{2}/\d{2}$)".

Pranab_C
8 - Asteroid

Thank you so much for your quick reply, it worked for the dates, can you please help with the second part of the question too.

CoG
14 - Magnetar

Based on the image, something like this may work:
.*\s(.*?\d.*?$)

Pranab_C
8 - Asteroid

Thank you that worked out

gawa
16 - Nebula
16 - Nebula
Labels