Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Separating DateTimes with regex.

senem127
5 - Atom

I want to separate 01.01.21 and 31.01.21 from the data with Regex. How can do it? Thanks.

 

-Отчет по производителю

Дата с 01.01.21 по 31.01.21

Производители: 57,465,472,477

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @senem127,

 

I have created a workflow for you:

Emil_Kos_0-1623656294822.png

 

 

This is the formula that I have used:

 

\d\d\.\d\d\.\d\d

BenMoss
ACE Emeritus
ACE Emeritus

You could use the RegEx tool in tokenize mode (because we want to repeat the same pattern, I believe this statement should work...

 

\d\d\.\d\d\.\d\d

 

Escaping the full stop delimiters because we want a literal full-stop and not any character (which just a dot would give).

 

There are certainly other ways of doing this though!

 

Ben

messi007
15 - Aurora
15 - Aurora

@senem127,

 

You can use Reg Replace as well.

 

Please see below:

messi007_0-1623657902750.png

 

Attached the workflow,

Hope that helps!

 

Regards

Labels
Top Solution Authors