Someone posted rename preset which would rename files into a folder using the filename of the selected file to create the folder. Another user asked for help modifying this preset so that only the first part of the selected files name (up to the first '-') was used in naming the folder.
I can't tell if there's a minor bug in DOpus or if I am as hopeless at RegExp as ever.
The preset I have created is as follows:
Looks fine to me and it shows in the preview below that all will be fine. However this fails - and I think it's because the rename will result in a space at the end of the folder name.
Using "Test-File 01.txt" as the filename works fine.
Can you confirm that this is my fault or is there a buglette in the rename function when the folder name ends in a space please? Creating a folder with the 'createfolder' command always ignores trailing spaces.