# rename files

**URL:** https://community.mp3tag.de/t/rename-files/7154
**Category:** Support
**Created:** [September 4, 2008, 2:30pm UTC](https://community.mp3tag.de/t/rename-files/7154 "2008-09-04T14:30:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mwilliams66](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/ecb155/32.png) [@mwilliams66](https://community.mp3tag.de/u/mwilliams66)
#### Post date: [September 4, 2008, 2:30pm UTC](https://community.mp3tag.de/t/rename-files/7154/1 "2008-09-04T14:30:15Z")

</div>

Here is what i would like to do. I want to rename all files and fields to Sentence case ie:

CC music factory - CC Music Factory. The problem is that when i do a case conversion it also changes the CC to Cc. If there a way that i can tell the program to ignore any text that have two consecutive Capital letters to leave them alone and continue to change the case for the rest. I would like to do this globally so i don't have to go back and do them one at a time. Please help.

---

<div class="post-metadata">

### Author: ![Harakiri](https://community.mp3tag.de/user_avatar/community.mp3tag.de/harakiri/32/142_2.png) [@Harakiri](https://community.mp3tag.de/u/Harakiri)
#### Post date: [September 4, 2008, 9:40pm UTC](https://community.mp3tag.de/t/rename-files/7154/2 "2008-09-04T21:40:15Z")

</div>

Hello there!

I think i may have find a practical work around for your problem.

**1ST STEP - Create a Action Group called Mixed Sentence w/Repeated Chars**

**Click on "NEW" button and follow the steps bellow:**

Actions -\> Replace with regular expression

```
                 Field: (It works with any of the fields)

```

Regular Expression: (.)\1+

```
      Replace with: $upper($1)$repeat($upper($1),1)

```

**2ND STEP - Click again on "NEW" button and follow the steps bellow:**

Actions -\> Case Conversion

```
                 Field: (It works with any of the fields)

```

Case Conversion: Mixed Sentence

```
The third field should be left blank

```

There, you learned how to create a action group with two useful actions that will solve your problem! 🙂

I really hope this helps because i've spent a couple hours learning following this useful website:

[guiStuff - Regular Expressions: Part 3](http://www.guistuff.com/articles/regexp_full_3.html)

Take care! 🙂

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:21pm UTC](https://community.mp3tag.de/t/rename-files/7154/3 "2026-02-09T12:21:04Z")

</div>


