I have a bunch of filenames that follow the same string pattern NXxxxxx_NN. Every one of them ends in an _NN some start with a number like above and some don't. All of them only have an _ character in them though. What I am wanting to do is delete everything prior to and also delete the _ but then add Chapter in its place. So I want the above to be changed to Chapter NN. I want the result to be placed in the Title field.
Please give examples for all the variations you want to transform.
According to my experience, the suggested measures do not quite fit the reality if the OP only tells what he thinks is relevant.
Also, it is not quite clear what you really want: do you want to fill the title tag (as the headline suggests) or do you want to rename the files as in the following you only talk about the filenames and that all the modifications should be performed on the filename - which is a little unusual.
If you want to import the part of the filename up to the underscore, then use the converter filename - tag and enter a mask like this:
This leaves out everything after the underscore - as you claim:
But I think that you want to replace the _ with "Chapter " - which is easily done with an action - see
you then end up with data in the title tag that still has the number as head.
You can remove that (if it really is 2 characters wide) with an action of the type "format tag field" for TITLE and the format string
You may then rename the files with the converter Tag-Filename.
But as I said: I am not sure, what you really want.
Yeah, sorry about that. It wasn't very descriptive. What I have are all the books of the bible. The filenames are labeled 1Chronicles_01, 1Cor_01, 1Kings_01... So the 01 at the end is the chapter of each book. So 1 Chronicles has 1Chronicles_01, 1Chronicles_02, 1Chronicles_03... for each of the Chapters. Now, I want the title field to have Chapter 01, Chapter 02, Chapter 03... so that I can just jump right to that Chapter when I need it. I have the Album labeled with the name of the book. Your topic above %dummy%_%title% worked perfect in getting the two numbers at the end of the filename to appear as the title. So now I have 01, 02, 03... in the title and I just need to add Chapter (with a space after) before 01.
Nevermind... your second portion got the rest completed. I just created a format value action using:
Format string: Chapter %title%
Thanks for your help...