How to move last characters which start from special char

Bulk Rename Utility How-To's

How to move last characters which start from special char

Postby KUA » Mon May 22, 2023 2:07 pm

How to move last characters which start from special character and insert those charcter to start and insert space with special character after adding to start
like input can be like this

Beta Group - Candy Jelly - BetaLimitedG
Alpha Group - Sweet Candy - AlphaG

and Output should look like this

BetaLimitedG - Beta Group - Candy Jelly
AlphaG - Alpha Group - Sweet Candy
KUA
 
Posts: 2
Joined: Mon May 22, 2023 1:52 pm

Re: How to move last characters which start from special char

Postby therube » Mon May 22, 2023 4:29 pm

If it's 3 "columns" of data (separated by "-"), then:

1:RegEx, enable 'Simple'
Code: Select all
Match:  %1 - %2 - %3
Replace:   %3 - %1 - %2

Basically says, move "column 3" (if you will) to the left of column 1, leaving the rest unchanged.
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm

Re: How to move last characters which start from special char

Postby KUA » Fri Jun 02, 2023 9:22 pm

Basically its file name of single file and i want to rename all those files.
E.g. This filename Alpha Group - Sweet Candy - AlphaG
to the given format
AlphaG - Alpha Group - Sweet Candy
KUA
 
Posts: 2
Joined: Mon May 22, 2023 1:52 pm

RegEx(1) with checkbox for "Simple"

Postby Luuk » Sat Jun 03, 2023 1:45 am

Therube's solution does already conduct both of your samples, exactly like you're describing?
Or maybe you just have an old version, that doesn't have the "Simple" checkbox?
Luuk
 
Posts: 706
Joined: Fri Feb 21, 2020 10:58 pm


Return to How-To