Is it possible to get folder name from a URL?
For example,
https://inside.nov.com/wh/pc/testSourceLib/Folder Z/SubFolder Z1/Copy files from one Document Library to another using Nintex Workflow _ My Learnings.pdf
where
https://inside.nov.com/wh/pc/
is the Web URLtestSourceLib
is the library nameFolder Z/Subfolder z1
is the folder name
I need to extract /Folder Z/Subfolder z1
from the above URL.
I tried ([^\/]*)$
and it gives me the file name Copy files from one Document Library to another using Nintex Workflow _ My Learnings.pdf
.