I have around 10.000 files that i want to organize. I am trying to fill the artist tag with a regexp expression that matches a part of the directory path. But nothing i try seems to work...
The folderpath is: D:\topfolder\subfolder\artist\album\
these are my settings in the replace with regular expression action:
Field: ARTIST(also tried %artist% btw)
Regular expression: $regexp(%_folderpath%,^D:\topfolder\subfolder\(.?)(?:\(.?)(.*?))?$)
Replace by: $1
I have tried quoting like this '^D:\topfolder\subfolder\(.?)(?:\(.?)(.*?))?$' but that is not working either...
I tested the regexp on regex101.com with ' as a delimiter....
What should i do to get this to work?