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

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
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 ANTWORTEN 5
Yoshiro_Fujimori
16 - Nebula
16 - Nebula

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
Asteroid

@Yoshiro_Fujimori thank you so much

flying008
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
Polaris

@rag329 Another method using string formula 

Screenshot 2023-07-18 101909.png

rag329
Asteroid

thank you so much team for helping me.

Beschriftungen
Top-Lösungs-Autoren