# String-manipulations

**URL:** https://community.mp3tag.de/t/string-manipulations/1988
**Category:** Support
**Created:** [May 21, 2005, 8:48am UTC](https://community.mp3tag.de/t/string-manipulations/1988 "2005-05-21T08:48:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wquatan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/ea666f/32.png) [@wquatan](https://community.mp3tag.de/u/wquatan)
#### Post date: [May 21, 2005, 8:48am UTC](https://community.mp3tag.de/t/string-manipulations/1988/1 "2005-05-21T08:48:18Z")

</div>

Hi,

On FreeDb, some users use the notation "Singers, The" instead of "The Singers". This is applicable also to the CD-title and/or the Song-title.

Is there a way with mp3tag to convert (with stringmanipulations) these fields back into a "The Singers".  
This should conditional, as in case of Various-cd's not all groups or titles are concerned.  
I saw a topic todo the opposite

Thanks

Walter

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [May 21, 2005, 11:04am UTC](https://community.mp3tag.de/t/string-manipulations/1988/2 "2005-05-21T11:04:30Z")

</div>

Isn't this what you are looking for: [Actions](https://community.mp3tag.de/t/967/5)

Anyways, you will have to manually select the files which you want "The" to be inserted.

---

<div class="post-metadata">

### Author: ![nickless](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nickless/32/36_2.png) [@nickless](https://community.mp3tag.de/u/nickless)
#### Post date: [May 21, 2005, 11:14am UTC](https://community.mp3tag.de/t/string-manipulations/1988/3 "2005-05-21T11:14:37Z")

</div>

Hi!

You can do this with regular expressions, when artist is in format "some artist, the", so "artist1, the feat. artist2" etc. will not be changed:

```
Action:
replace regular expression
field: ARTIST
expression: (.*)(, )(the$)
replace with: $caps($3) $1

```

Look at scripting functions in help if you want to format the capitalization in some other way.

Regards  
nickless

---

<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:19pm UTC](https://community.mp3tag.de/t/string-manipulations/1988/4 "2026-02-09T12:19:23Z")

</div>


