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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

regex

Hamder83
11 - Bolide

Hi 

I have this filename:
c:\dennis\ay\ABOUT YOU GmbH_BALTICS2022_2021-02-15_20210216-1013_FAM_(081)_CODCorrect.xlsm|||`INPUT PARCELS$B5:N105`

how do I delete from ||| and the rest of the filename?

 

 

5 REPLIES 5
Jean-Balteryx
16 - Nebula
16 - Nebula

Hi @Hamder83 ,

 

You can do it using Regex tool.

 

\|\|\|.*

 

Workflow attached !

atcodedog05
22 - Nova
22 - Nova

Hi @Hamder83 

 

I was confused whether you wanted to keep filename or sheetname so i have just split it keep whichever you want😅

 

atcodedog05_0-1628778251498.png

 

Hope this helps : )

 

Hamder83
11 - Bolide

Your a genius @Jean-Balteryx 

Thank you very much 🙂 

Jean-Balteryx
16 - Nebula
16 - Nebula

You are welcome @Hamder83 ! 🙂

jybq
5 - Atom

Thank you. 

 

just found it can also use just below, since escape from the first | and .* and replace the second and third | and the remaining.

\|.*

 

Labels
Top Solution Authors