I read through the FAQ and ran several searches in the forum (4 hours of my failure to locate an answer) in an attempt to delete some characters from the end of my title field. As I understand it, the process should work on any field. Anywhoooo
I found in the FAQ deleting leading characters where ^.{4} deleted the first 4 letters from the left. That was great and simple. My next question would be how to include deleting numbers and characters from the left. Since that was so easy, I figured the same issue for trailing characters would be easy to tackle.
So, I tried to understand some principles and arrived at the expression [4\w]$ which only removes one letter or number at a time at the end of my title and does not remove a "."
My problem is that I have a title with ".mp3" included as part of the title. No, it is not the file extension. The entire title therefore looks like this: song of the south.MP3.mp3
I want to remove the last 4 characters in the song title. In this case, the 4 characters happen to be ".mp3". I figured that I could then use the same expression and just change the number if I run into any other weirdness.
If you know where the existing post is that answers this question, please indicate.
If you can solve this problem, that would be great.
If you think there is a better way to solve this particular issue, please school me.
Why don't you simply search and replace the incriminating string with an action.
Actually, I would always apply a filter first which meets the search criteria to macke sure that the handled files are realy the ones I want to hit. Any kind of global search and replace in databases leads to funny effects. Like the Beatles "White Album" becomes the "White A".
If you write the action, you can easily edit it to meet other string requirements, even in the middle of a title.
Various posts mentioned filtering and the search and replace action, but I could not figure out how to get it to work. If you know of the particular post that describes the process, I will gladly check it out.
Thank you for your suggestion.
dano, if I want to create the file name from the title tag but ignoring the last 5 characters of the title of the tag, how could I do it? which is the code to write? in my case, this involves 5 characters generic, not ".mp3".
One more question pliz! If I want import cover files (jpg) ignoring the last 5 characters of the name of the jpg file, how could I do it? which is the code to write? is it possible?
the name of the tags of the videos is ever diferent of the name of image file.
now I have to rename the video files to an external program and I would like to do it all with mp3tag if it possible! Only about making mp3Tag ignore the last characters in the video insertion. the photos are screenshots of the videos and the program for capture takes the name of the video and adds day, hour etc.. but the name of the jpg file always has the same length counting from the back of the file name.
thank u!
You could try "Guess value"
Source: %sourcefield%
Target: %sourcefield% - %dummy%
I cannot give you a more detailed description as you do not say in which field you want to delete the string.