You are viewing limited content. For full access, please sign in.



regular expression path breakdown

asked on May 17, 2016 Show version history


I am retrieving full path from db something like repo\folder1\folder2\folder3\last,first. In my workflow to create this folder structure i am using create entry. Problem is create requires both path and name but i only have path.

I am using regular expression to fetch last folder last,first using  [^\\]*$

Is there a way to get the rest of the path so that i could use that as path in create entry.

Or is there another way to create this folder path without creating/moving any file into it.


Junaid Inam 

1 0


replied on May 17, 2016

^(.+)\\[^\\]+$ should do it.

2 0
replied on May 17, 2016

Works Perfectly. Thanks Miruna

0 0


You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.