SOLVED
Extracting Sheet Name and File Name from the full path
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
SH_94
11 - Bolide
‎03-23-2022
07:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Dear community,
I would like to ask how can we get the file name and sheetname from the screenshot below:
Many thanks for the help.
Solved! Go to Solution.
Labels:
- Labels:
- Common Use Cases
3 REPLIES 3
21 - Polaris
‎03-23-2022
07:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@SH_94
We can use RegEx to do it.
‎03-23-2022
07:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Qiu ,
Many thanks for the prompt response.
May i know if there is formula to eliminate the file name extension within the regex? for example, remove the extension - .xlsx from the filename?
Thank you.
21 - Polaris
‎03-23-2022
07:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@SH_94
We can just move the ".xlsx" out of the brackets.
