I was looking for a renamer tool that could help me renaming my e-book files.
I stumbled upon Bulk Rename Utility and it looked as if it could fulfill my requirements rather easy.
I have these ebooks:
- Herman Koch - Het Diner.epub
Esther Verhoef - Close-Up.epub
Tim Krabbé - Een Goede Dag Voor De Ezel.epub
Tim Krabbe - Een Tafel Vol Vlinders.epub
- Koch, Herman - Het Diner.epub
Verhoef, Esther - Close-Up.epub
Krabbé, Tim - Een Goede Dag Voor De Ezel.epub
Krabbe, Tim - Een Tafel Vol Vlinders.epub
I found a possible solution on this forum:
Regex(1)
Match: (.+) (.+) - (.+)
Replace: \2, \1 - \3
However, the result is:
- Koch, Herman - Het Diner.epub
Verhoef, Esther - Close-Up.epub
Tim Krabbé - Een Goede Dag Voor De Ezel.epub
Krabbe, Tim - Een Tafel Vol Vlinders.epub
The only difference between the two last ones, is that 'é' character.
Could that be a bug?
If not, how can I prevent special characters like é,è,à,ö,... to stop my regex working like expected?
Btw, according to both http://www.regexr.com and Visual RegEx the regular expression
(.+) (.+) - (.+)
matches
Tim Krabbé - Een Goede Dag Voor De Ezel.epub
Kind regards,
Peter