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.
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(?=[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.
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'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.