With the git log
command, I get all changes from a commit and I store it in a file.
This is de result:
microsoft/netframework/docker/content/Y
I want to get only the third folder, docker
.
I tried with these regex expression: '/[\/]*[^\/]+[\/]([^\/]+)/'
But it returns:
microsoftcontent/Y
What should I correct in the expression to use with Powershell?