Moving text segments in filenames

Advanced Renamer forum
#1 : 26/07-14 22:07
John R. Sellers
John R. Sellers
Posts: 3
How do I batch move segments of text from the beginning of a filename to the end just B4 the extension with 2 or more filenames different lengths?

For example:

Changing...

(1997) Rammstein- Engel.mp4
(1998) Rammstein - Du Reicht So Gut.mp4

...to...

Rammstein- Engel (1997).mp4
Rammstein - Du Reicht So Gut (1998).mp4


(Augment): Just noticed I asked a similar question B4. Anywho, there's gotta be a way to do this.


26/07-14 22:07 - edited 26/07-14 22:23
#2 : 27/07-14 10:47
Stefan
Stefan
Posts: 250
Reply to #1:


FROM:
(1997) Rammstein- Engel.mp4
(1998) Rammstein - Du Reicht So Gut.mp4

TO:
Rammstein- Engel (1997).mp4
Rammstein - Du Reicht So Gut (1998).mp4

RULE:
match first six signs and move them to the end of the string

USE:
http://www.advancedrenamer.com/user_guide/metho d_replace

Search: ^(......) (.+)$
Replace: \2 \1
[X] RegEx
Apply to: [Name]


- - -

To be on the save side, and work only on files which really starts with '(' and four digits, better use this:

RULE:
match four digits in parentheses at begin, and move them to the end of the string

USE:
http://www.advancedrenamer.com/user_guide/metho d_replace

Search: ^(\(\d\d\d\d\)) (.+)$
Replace: \2 \1
[X] RegEx
Apply to: [Name]


.

----------
If this tool had saved you time, perhaps you want to donate an Dollar to Kim?
See http://www.advancedrenamer.com/download >>> [Donate] button.


27/07-14 10:47
#3 : 27/07-14 19:49
John R. Sellers
John R. Sellers
Posts: 3
Reply to #2:

Thanks.


27/07-14 19:49