In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. 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.
SOLVED

Extracting Date

KamenRider
11 - Bolide

Hi,

 

Can I ask for your assistance in extracting the date. Below is my example.

 

BACKLN Driving (12.08.2021).xlsx --- results should be 2021-12-08

CACLN Driving (10.31.2023).xlsx --- results should be 2023-10-31

 

I have this formula but it give me a null results.  -- DateTimeParse(REGEX_Replace([FileName], '.*?_(.*?)_.*', ''),'%Y%m%d')

 

Hope you could help me on this.  Thanks,

 

Kamen

 

 

 

2 REPLIES 2
CoG
14 - Magnetar

DateTimeParse(REGEX_Replace([Field1], ".*?(\d{2}[.]\d{2}[.]\d{4}).*", "$1"),"%m.%d.%y")

binu_acs
21 - Polaris
Labels
Top Solution Authors