# Moving "The" to the end

**URL:** https://community.mp3tag.de/t/moving-the-to-the-end/10812
**Category:** Support
**Created:** [September 14, 2010, 6:21pm UTC](https://community.mp3tag.de/t/moving-the-to-the-end/10812 "2010-09-14T18:21:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kittmaster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/kittmaster/32/14793_2.png) [@kittmaster](https://community.mp3tag.de/u/kittmaster)
#### Post date: [September 14, 2010, 6:21pm UTC](https://community.mp3tag.de/t/moving-the-to-the-end/10812/1 "2010-09-14T18:21:55Z")

</div>

I've tried to search how to deal with this, but I'm already working with a tag to filename string that does what I expect on all my files. But now I want to add this feature to the string but can't figure out how to deal with it.

My string is:

$caps2($if2(%artist%,NULL))--XXXXXXXXXXXXXXXXXXXXXXX

but I want it to also take The Rolling Stones and make it Rolling Stones, The

Is there a way to integrate this into this?

I'm stuck and not sure how to do with without corrupting the string. I read the (The.)+ in the regular expression threads sticky, but it just corrupted my string.

Any ideas?

Thanks

---

<div class="post-metadata">

### Author: ![kittmaster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/kittmaster/32/14793_2.png) [@kittmaster](https://community.mp3tag.de/u/kittmaster)
#### Post date: [September 15, 2010, 12:48am UTC](https://community.mp3tag.de/t/moving-the-to-the-end/10812/2 "2010-09-15T00:48:27Z")

</div>

Found my answer on post 14/15

[/t/521/1](https://community.mp3tag.de/t/521/1)

---

<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:22pm UTC](https://community.mp3tag.de/t/moving-the-to-the-end/10812/3 "2026-02-09T12:22:33Z")

</div>


