file renaming

Advanced Renamer forum
#1 : 08/07-20 15:10
kurt
kurt
Posts: 8
Dear all,

last year (in november) I asked for file renaming and got answers from 'David Lee'.

Now I lost all my *.aren-files and try to build them new.

The filename
'Emmy Werner & Daniel Wisser _ E411'
should turn to
'E411 - Emmy Werner & Daniel Wisser'.

As David stated I tried the following, but it doesn't work properly:

Use the Replace method...

Text to be replaced: (.*) (.*)$
Replace with: \2 - \1
Use regular expressions: √

What am I doing wrong?

Kind regards

Kurt


08/07-20 15:10
#2 : 08/07-20 16:05
David Lee
David Lee
Posts: 1125
Kurt

Your Regex is breaking the filename at the last space - you need to specify " _ " instead of " ".

(.*) _ (.*)$ will do the trick.


08/07-20 16:05
#3 : 08/07-20 16:16
kurt
kurt
Posts: 8
Reply to #2:

Thanx, now it works

Kurt


08/07-20 16:16