Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

regex? fullpath to filename only

PassION_es
ファイアボール

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件の返信3
ChrisTX
ネビュラ

Try this

 

Screenshot 2024-05-20 053954.png

 

Chris 

binuacs
ポラリス

@PassION_es  regex for getting only the file name

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

image.png

PassION_es
ファイアボール

Thanks @ChrisTX @binuacs 

投票
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
ラベル