# Regular Expressions

**URL:** https://community.mp3tag.de/t/regular-expressions/521
**Category:** Howto
**Created:** [October 16, 2003, 4:47pm UTC](https://community.mp3tag.de/t/regular-expressions/521 "2003-10-16T16:47:29Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [December 28, 2005, 2:12pm UTC](https://community.mp3tag.de/t/regular-expressions/521/13 "2005-12-28T14:12:25Z")

</div>

**Upper case for Roman numbers**

_Regular expression:_  
`\b(?:M{0,3})(?:D?C{0,3}|C[DM])(?:L?X{0,3}|X[LC])(?:V?I{0,3}|I[VX])(?=(\.\s|\s|\)|$))`

_Replace matches with:_  
`$upper($0)`  
[] case-sensitive comparison

---

_[View the full topic](https://community.mp3tag.de/t/regular-expressions/521)._
