I am working on a Workflow that needs to use look-up data about a file path and apply it to files in a folder through a business process. The below screenshot shows my current token in the token editor:
I would like to use all but the filename in the file path. I have an expression that uses the first part of this, however there are varying amounts of folders before the filename.
I imagine that the right expression could ignore all characters after the last ' \ ' in the string. I am just unsure of how to write this.