The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

using regex to extract file extension

OEvangelista
メテオール

Hello, 

 

I have the following filenames:

   aaaaaaa.xlsx

   bbbbbbb.csv

   ccccc.pdf

 

I am pretty new using the regex tool.

How would I create the Regular Expression to parse the above filenames and just show the file extensions (i.e.. xlsx, csv, pdf, etc.)?.

 

Thanks

4件の返信4
MarqueeCrew
20 - Arcturus
20 - Arcturus

@OEvangelista ,

 

Answer:  You wouldn't.

 

You would use this function:  FileGetExt(Path)

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
binu_acs
ポラリス

@OEvangelista one way of doing this

 

binuacs_0-1654636714735.png

 

OEvangelista
メテオール

Thanks!!!

OEvangelista
メテオール

Thanks for offering a different tool set!!!

ラベル
トップのソリューション投稿者