Alteryx Designer Desktop Discussions

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

regex? fullpath to filename only

PassION_es
10 - Fireball

Hello Alteryx,

 

I want to get only the filename (highlighted in yellow) of the output from batch macros (consolidated sheets/workbook).  Is this can be done in Regex as well? Thanks

 

 

3 REPLIES 3
ChrisTX
15 - Aurora

Try this

 

Screenshot 2024-05-20 053954.png

 

Chris 

binuacs
20 - Arcturus

@PassION_es  regex for getting only the file name

REGEX_Replace([FileName], '.*\\(.*)\|\|\|.*', '$1')

image.png

PassION_es
10 - Fireball

Thanks @ChrisTX @binuacs 

Labels