I need to create a regular expression which transforms a path to a cloud solution.
\\test.local\testb\test-prozesse\project_prozess\1_Implementierung\2__Datenmigration\1_prozesstest\5_Dokumentation\Dateiname.docx
to this:
Test-USER>2__Datenmigration>1_prozesstest>5_Dokumentation>Dateiname.docx
The first part is to be replaced with the "Test-USER
"
and the slashes should be replaced with the >
.
I only managed to delete the first part with this:
\\\\[a-zA-Z._]+\\[a-zA-Z._]+\\[a-zA-Z._-]+\\[0-9a-zA-Z._-]+\\[0-9a-zA-Z._-]+\\
I use the open source project pathcopycopy and there you have only one line to insert your regular expression