Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
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