How to switch Part of File Name (A-B to B-A)?
Question by Mail Request | 2024-09-19 at 21:07
First of all I would like to thank you for your wonderful program, congratulations.
I have used the FileRenamer several times but now I have a doubt because I want to change the order of a part of the file name. For example, given the name "Julio Iglesias - Olvídame.mp3" I am trying to get "Olvídame - Julio Iglesias.mp3".
Despite my efforts, I am not able to determine the operation I should configure to get the desired result. I have a lot of .mp3 files and the solution would be very helpful for my music collections.
An added problem is that when playing .mp3 files they are always sorted in alphabetical order and are always played in the same order of performers and with the change I propose the name of the song would appear first....
I would be very grateful for a solution to this issue. Thank you in advance and again congratulations for your program.
Related Topics
Rename File to its Folder Name
Tutorial | 0 Comments
PHP: File Download Script
Tutorial | 0 Comments
XAMPP: How to set up SSL/HTTPS for local Projects
Tutorial | 4 Comments
How to resize Image before Upload in Browser
Tutorial | 13 Comments
Website Performance: Deliver JavaScript and CSS files compressed to reduce loading times
Tutorial | 0 Comments
Lazarus: Load File as Byte Array and save Byte Array as File
Tutorial | 0 Comments
HTML: Preassign HTML Form with Data
Tutorial | 0 Comments
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.
Thank you very much. You can just use the Search and Replace function of the FileRenamer that you can find under "Changes > Name > Search and Replace" to perform that task.
In the options of that action, you can use the following configuration:
This searches for two name parts divided with " - " and replaces them in a switched order. To make it work, don't forget to activate the option "Interpret as Regular Expression".
If you want to learn more about how that works, here you can find an introduction to regular expressions.
2024-09-19 at 21:15