Is it possible to use a set variable task to modify the value of a variable to obtain a new value with a regular expression?
For example, I might have a variable called file.path and from that generate a new variable called file.name
file.path = c:\test\rob\outer\filename.txt
I want to perform an operation on that variable value to obtain just
file.name = filename.txt
a regex operating on file.path [^\\]*$ would equate to that value but I have had no success in making this work.
- Posts: 3
- Joined: Fri Dec 10, 2010 10:59 am
- Support Specialist
- Posts: 65
- Joined: Thu Mar 05, 2009 3:49 pm
Who is online
Users browsing this forum: Bing [Bot] and 3 guests