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, alter my one statement to account for 2 scenarios

wonka1234
10 - Fireball

Hi,

 

 

I am trying to regex this -

 

field 1date
TEST_User_20221031.del20221031
TEST_User_202210.del202210

 

Regex im using on field 1 - 

 

_(\d+)\.

 

 

How can I make it so date is 202210 for both outputs?

3 REPLIES 3
messi007
15 - Aurora
15 - Aurora

@wonka1234,

 

Please see below :

 

 

Parse.PNG

Attached the workflow.

Regards,

wonka1234
10 - Fireball

@messi007 

 

thanks but what about the +)\.  that you took out? what will happen with that removed?

binuacs
21 - Polaris

@wonka1234 Another way of doing this

Screenshot 2023-07-10 190609.png

Labels