web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract file type from...
Power Automate
Unanswered

Extract file type from file (.Pdf or .docx, .xlxs etc)

(0) ShareShare
ReportReport
Posted on by

Hey there,

 

I am new to Power Automate and would like to find a solution to an issue I am currently facing.

 

Is there a way to extract the file type from a specific file?

 

For example:-

 

Let us say I have a file called "CustomerDetails.docx" what I want is to extract everything after the last "." from the file name and would provide me with ".docx"

 

Ormazd_0-1650830589712.png

 

I have read somewhere that I can use compose and the substring expression to extract what I what, but I could not specifically direct it to select everything after the last "."

 

Apologies for my horrible English.

 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard