Start Free Trial

Alteryx Designer Desktop Discussions

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

how to filter numbers from date

rag329
8 - Asteroid

hi team, I have the data like this

 

7/02/2020656

12/1/1996567

 

My output would be like this

 

07/02/2020 656 (656 should be in new column)

12/01/1996 567 (567 should be in new column)

 

m/d/y

 

please help me

5 REPLIES 5
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @rag329 ,

 

RegEx formula will be one way. I hope this helps.

 

Expressions

Date_mdy = REGEX_Replace([Data], "(\d+/\d+/\d{4})(\d+)", "$1")

Remaining = REGEX_Replace([Data], "(\d+/\d+/\d{4})(\d+)", "$2")

 

Output

RegEx_Date.png

 

rag329
8 - Asteroid

@Yoshiro_Fujimori thank you so much

flying008
15 - Aurora

Hi, @rag329 

 

Another way full for you:

 

录制_2023_07_18_14_25_50_420.gif

 

录制_2023_07_18_14_28_52_358.gif

binu_acs
21 - Polaris

@rag329 Another method using string formula 

Screenshot 2023-07-18 101909.png

rag329
8 - Asteroid

thank you so much team for helping me.

Labels
Top Solution Authors