Page 1 of 1
How to move last characters which start from special char

Posted:
Mon May 22, 2023 2:07 pm
by KUA
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
Re: How to move last characters which start from special char

Posted:
Mon May 22, 2023 4:29 pm
by therube
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.
Re: How to move last characters which start from special char

Posted:
Fri Jun 02, 2023 9:22 pm
by KUA
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
RegEx(1) with checkbox for "Simple"

Posted:
Sat Jun 03, 2023 1:45 am
by Luuk
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?