I shall like a code for named figures Roman.

Hello, I have a code for named figures Roman of the tiny in capital letter but I would like converted them of the first letter in capital letter in capital letter for quite letter for the tag of my album. You could modify the code. Thank you.

$regexp(%TITLE%,'\b(?i:(?=[MDCLXVI])((M{0,3})((C[DM])|(D?C{0,3}))?((X[LC])|(L?X{0,3})|L)?((I[VX])|(V?(I{0,3}))|V)?))\b','\U$0')

I think there is already a thread that deals with roman digits. See here:
Action group to captitalize Roman numerals

This is not quite my needs. If there is a capital letter at the beginning of Roman numerals the proposed code is not taken into account. I do not know if you have the skill if you could convert the following code to the Roman numerals beginning with a capital letter and ends with a tiny or my convertise The totals all uppercase. In thank you.

$regexp(%TITLE%,'\b(?i:(?=[MDCLXVI])((M{0,3})((C[DM])|(D?C{0,3}))?((X[LC])|(L?X{0,3})|L)?((I[VX])|(V?(I{0,3}))|V)?))\b','\U$0')

$regexp(%TITLE%,'\b(?=[MDCLXVI])(M{0,3})(C[DM]|D?C{0,3})(X[LC]|L?X{0,3})(I[VX]|V?I{0,3})\b','\U$0'
Explained in detail in this new thread...
/t/16343/1

According to your code $regexp(%TITLE%,'\b(?=[MDCLXVI])(M{0,3})(C[DM]|D?C{0,3})(X[LC]|L?X{0,3})(I[VX]|V?I{0,3})\b','\U$0' I makes how? Because it does not work.

And if I made according to your link:

Action type: Replace with regular expression.

Field:

Regular expression: \b(?=[MDCLXVI])(M{0,3})(C[DM]|D?C{0,3})(X[LC]|L?X{0,3})(I[VX]|V?I{0,3})\b[/b]

Replace with: $upper($0)

Case-sensitive comparison

It does not work either.

Yes, you have to use action replace with regular expression. I forgot to update this thread, sorry.

By doing exactly:

Action type: Replace with regular expression.
Field:
Regular expression: \b(?=[MDCLXVI])(M{0,3})(C[DM]|D?C{0,3})(X[LC]|L?X{0,3})(I[VX]|V?I{0,3})\b[/b]
Replace with: $upper($0)
Case-sensitive comparison

Not anything or done.

I try to change the Field, nothing, no capital development for Roman chirffres whatever he fasont which are written uppercase or lowercase or uppercase and lowercase.

Of course it works. Please remove [/b] (maybe my mistake) which is formatting tag for bold.
\b(?=[MDCLXVI])(M{0,3})(C[DM]|D?C{0,3})(X[LC]|L?X{0,3})(I[VX]|V?I{0,3})\b

I Am sorry I did it with the following code

\b(?=[MDCLXVI])(M{0,3})(C[DM]|D?C{0,3})(X[LC]|L?X{0,3})(I[VX]|V?I{0,3})\b

or

(?=[MDCLXVI])(M{0,3})(C[DM]|D?C{0,3})(X[LC]|L?X{0,3})(I[VX]|V?I{0,3})

It still does not work.

I'm sorry again but I try again with my old code by

value Format
Field: TITLE
Format string:$regexp(%TITLE%,'\b(?i:(?=[MDCLXVI])((M{0,3})((C[DM])|(D?C{0,3}))?((X[LC])|(L?X{0,3})|L)?((I[VX])|(V?(I{0,3}))|V)?))\b','\U$0')

All work, even if there Capitalize first letter of the word or not. I'm sorry for disturbing you for nothing.