Hi
Putting the Calibre editor "report" to good use, I obtained a list of Roman digits (see screenshot). I wish to enclose them in a span
only if they are followed by the expression
My aim is to obtain for them this code for example:
Code:
<span class="century">XII</span><sup>e</sup>*
Code:
.century {
font-size: smaller;
text-transform: uppercase;
}
* is (&)#160;
Doing this way, I do not modify other names like: Chapter XII, Charles IV which are NOT centuries.
To check them one by one for each number would be very long for a full book. Is there a code I could use to get this result? Up to now none of them has a span. All the centuries have this <sup>e</sup>