Hi Alteryx Community,
I have columns as shown below.
I have to extract date from the string. Can anyone help
Hello @vamsey ,
You might also try using regex:
DateTimeParse( REGEX_Replace([Field1], '.*\s(\d+/\d+/\d+).*', '$1'), '%d/%m/%y')
Regards
Hi @vamsey ,
in addition to what @PhilipMannering said, you could regex to parse out the mask:
Workflow attached.
I hope this helps,
M.
Hi @vamsey
You can use the Text-to-Columns Tool, and split on a space.
below columns are not able to output the dates using the formulae. Can you please help
Report free of Soan BQ Outstanding Activities_11-08-2021 17-30-45.0000000.xlsxReport free of Soan BQ Outstanding Activities_11-09-2021 17-30-36.0000000.xlsxReport free of Soan BQ Outstanding Activities_11-10-2021 17-30-41.0000000.xlsx
Report free of Soan BQOutstanding Activities_NA 11-08-2021 17-30-45.0000000.xlsxReport view of Loan IQdfd Outstanding Activities_NA 11-09-2021 17-30-36.0000000.xlsxReport view of Loan IQed Outstanding Activities_NA 11-10-2021 17-30-41.0000000.xlsx
Try GetWord([Field], 2)