Hi all,
I'd like to parse out some folder names and use them to organize my data. I'm currently using a directory tool that outputs the filename and uses batch macros to combine multiple files together. The macro works, now I'm just trying to grab the folder that each file came from as an additional data field.
Currently the File name looks like this: \\SharedDrive\Organization\Folder Name 1\Folder Name 2\Survey.xlsx|||'Survey 2015$'
I know this can be done with multiple text to column tools using "\" as a delimiter, however, this task I do relatively frequently and would like to know how I can use RegEx to parse out that folder name. I have previously used [-](.*) regex to treat "-" as my delimiter, but I am unsure on how to use special characters like "\".
Any help is greatly appreciated!
Thank you,
Jesse