# How to identify a word after "@" as an %artist%?

**URL:** <https://community.mp3tag.de/t/how-to-identify-a-word-after-as-an-artist/16449>\
**Category:** Support\
**Created:** [December 27, 2014, 4:32pm UTC](https://community.mp3tag.de/t/how-to-identify-a-word-after-as-an-artist/16449 "2014-12-27T16:32:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tes](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/bc8723/32.png) [@tes](https://community.mp3tag.de/u/tes)\
**Post date:** [December 27, 2014, 4:32pm UTC](https://community.mp3tag.de/t/how-to-identify-a-word-after-as-an-artist/16449/1 "2014-12-27T16:32:04Z")

</div>

This is filename _ **@Artist\_name\_1** feat **@Artist\_name\_2** pres SingleName - Title.mp3_

I want to add to %artist% tag only the first word inmediately after "@" and separate it with a ";":  
**%artist%:** Artist\_name\_1; Artist\_name\_2;

I don't want to add "feat" or "pres SingleName".

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [December 27, 2014, 5:03pm UTC](https://community.mp3tag.de/t/how-to-identify-a-word-after-as-an-artist/16449/2 "2014-12-27T17:03:44Z")

</div>

> [@tes](#):
>
> This is filename _ **@Artist\_name\_1** feat **@Artist\_name\_2** pres SingleName - Title.mp3_  
> I want to add to %artist% tag only the first word inmediately after "@" and separate it with a ";":  
> **%artist%:** Artist\_name\_1; Artist\_name\_2;  
> I don't want to add "feat" or "pres SingleName".

1. Convert: Filename - Tag  
Formatstring: %artist% feat %artist% pres %dummy%  
... this will give ...  
ARTIST: @Artist\_name\_1 @Artist\_name\_2

2. Action: Format value  
Field: ARTIST  
Formatstring: $trimLeft(%ARTIST%,'@')  
... or ...  
Formatstring: $cutLeft(%ARTIST%,1)

3. Action: Format value  
Field: ARTIST  
Formatstring: $replace(%ARTIST%,' @','; ')

4. Action: Format value  
Field: ARTIST  
Formatstring: %ARTIST%'; '

Result:  
ARTIST=Artist\_name\_1; Artist\_name\_2;

DD.20141227.1907.CET

All steps in one go ...

**Action : Format value Field : ARTIST Formatstring: $regexp(%\_filename%,'^@(.+?)\sfeat\s@(.+?)\spres.+$','$1; $2; ')**

DD.20141227.1954.CET

---

<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:25pm UTC](https://community.mp3tag.de/t/how-to-identify-a-word-after-as-an-artist/16449/3 "2026-02-09T12:25:26Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


