# Placing 'the in artist within filename

**URL:** <https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379>\
**Category:** Support\
**Created:** [October 11, 2023, 4:34pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379 "2023-10-11T16:34:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dp19](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/a8b319/32.png) [@dp19](https://community.mp3tag.de/u/dp19)\
**Post date:** [October 11, 2023, 4:34pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379/1 "2023-10-11T16:34:33Z")

</div>

Hello  
i trying to put the at teh en of my artist within filenames and for the life of me can't figure it out. i try the following action  
replace with regu;ar exexpression  
field - \_filename  
regular expression - %artist% The  
replace natches with - %artist The  
i need to do this on multi filenames. so what am i doing wrong, i've search through the forums but can't find my answer please i need guidence Thanks.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [October 11, 2023, 4:39pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379/2 "2023-10-11T16:39:59Z")

</div>

> [@dp19](#):
>
> regular expression - %artist% The  
> replace natches with - %artist The

I do not really see a regular expression.  
What does the source look like and what should the result look like?

---

<div class="post-metadata">

**Author:** ![dp19](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/a8b319/32.png) [@dp19](https://community.mp3tag.de/u/dp19)\
**Post date:** [October 11, 2023, 5:27pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379/3 "2023-10-11T17:27:36Z")

</div>

sorry the end result should be  
TUTEN BROTHERS The .. DOWNER

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [October 11, 2023, 5:32pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379/4 "2023-10-11T17:32:20Z")

</div>

and what does the source look like?

---

<div class="post-metadata">

**Author:** ![dp19](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/a8b319/32.png) [@dp19](https://community.mp3tag.de/u/dp19)\
**Post date:** [October 11, 2023, 5:53pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379/5 "2023-10-11T17:53:27Z")

</div>

the same but with the 'the' at the beginning . just trying to get the 'the' at the end of artist in the filename is the goal.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [October 11, 2023, 7:06pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379/6 "2023-10-11T19:06:47Z")

</div>

To move a "the" from the beginning of a string to the end:  
Search pattern: `The (.*)`  
Replace string: `$1 The`

This works on a whole string.  
If you refer to a filename, then the "the" is moved to the end of the filename.  
It would be easiest if you renamed the file with the function Convert\>Tag-Filename and a suitable format string.  
If you only want to treat the filename it is virtually impossible to say where the artist's name ends so it is also almost impossible to put the "the" in proper place.

---

<div class="post-metadata">

**Author:** ![dp19](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/a8b319/32.png) [@dp19](https://community.mp3tag.de/u/dp19)\
**Post date:** [October 11, 2023, 8:38pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379/7 "2023-10-11T20:38:55Z")

</div>

Thanks can the convert filename to tag do mutli files at once keeping the artist for each tag the same?

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [October 11, 2023, 8:48pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379/8 "2023-10-11T20:48:26Z")

</div>

Is this a new topic? then start a new thread please.  
But without a lot more details like what the data looks like in the tags and what the result should be it will be very hard to answer.

---

<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:** [November 10, 2023, 8:49pm UTC](https://community.mp3tag.de/t/placing-the-in-artist-within-filename/62379/9 "2023-11-10T20:49:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
