Retrieve Partial Filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am creating a drawing title block which includes a box for project name. Been doing some research and apparently you can use DIESEL expressions to extract a string of text from the filename to do this. But not sure how to do it exactly as the examples I seen are not suited to my case.
In my case filename and path is in the following format X:\xxxxx yyyyyy\...\drawing.dwg. xxxxx is always a five digit project number and yyyyyy is the project name which is a combination of numbers and letters with the number of characters changing. I want to extract the yyyyyy part of the filename and put into the title block and refresh automatically. I was thinking perhaps you can use the "\" character after YYYYYYY to determine the end of the project name. Can someone kindly let me know what is the DIESEL expression for this? Many thanks.