# Regular Expression für Römische Ziffern

**URL:** https://community.mp3tag.de/t/regular-expression-fur-romische-ziffern/8924
**Category:** Allgemein
**Created:** [September 10, 2009, 6:36pm UTC](https://community.mp3tag.de/t/regular-expression-fur-romische-ziffern/8924 "2009-09-10T18:36:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [September 11, 2009, 6:10am UTC](https://community.mp3tag.de/t/regular-expression-fur-romische-ziffern/8924/2 "2009-09-11T06:10:42Z")

</div>

Dieser "Reguläre Ausdruck" setzt römische Zahlen (in Groß- oder Kleinschreibung) von 1 bis 3999 (I bis MMMCMXCIX) in Großbuchstaben.

This "regular expression" sets roman numerals (case-insensitive) from 1 to 3999 (I to MMMCMXCIX) into capital letters.

%\_FILENAME% = ab i ab ii ab iii iv v vv vi vii viii ix abc x mcmliv ll cmm mmix-ix-xi.mp3

 

**Konverter** | **Tag - Dateiname** | **ALT+1**  
_Formatstring auswählen_  
Formatstring:

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

Vorschau  
**ab I ab II ab III IV V vv VI VII VIII IX abc X MCMLIV ll cmm MMIX-IX-XI.mp3**

 

DD.20090911.1028.CEST

---

_[View the full topic](https://community.mp3tag.de/t/regular-expression-fur-romische-ziffern/8924)._
