Hi all,
I want to replace random substrings in path:
C:\Users\sjfklsj\Appdata\.... -> C:\Users\---\Appdata\....
C:\Users\aegdfedg\Appdata\.... -> C:\Users\---\Appdata\....
etc..
So I want to remove the random username from the path.
Thank you!
| rex mode=sed "s/(?<x>Users\\\)(?<random>[^\\\]+)/\\1---/g"