# Batch process

**URL:** <https://community.mp3tag.de/t/batch-process/19709>\
**Category:** Support\
**Created:** [January 23, 2018, 7:15pm UTC](https://community.mp3tag.de/t/batch-process/19709 "2018-01-23T19:15:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![X-Tropic](https://community.mp3tag.de/user_avatar/community.mp3tag.de/x-tropic/32/7536_2.png) [@X-Tropic](https://community.mp3tag.de/u/X-Tropic)\
**Post date:** [January 23, 2018, 7:15pm UTC](https://community.mp3tag.de/t/batch-process/19709/1 "2018-01-23T19:15:04Z")

</div>

For example:

A1-Mike Mango - Believe  
A2\_Groove Riders - Love  
B1 Dataworx - Banger  
B2\_-\_Tom Hades - Connect  
01.Fader - Move  
02-Moonwalker - Day Two

I remove digit with this:  
$trimLeft(%_filename%,'0123456789).-_ ')

How to remove A1,A2,B1,B2 from tunes?

---

<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:** [January 23, 2018, 7:51pm UTC](https://community.mp3tag.de/t/batch-process/19709/2 "2018-01-23T19:51:20Z")

</div>

you can remove the first characters with a number of functions, e.g.  
$regexp(%fieldname%,'^...(.\*)',$1)  
but as you do not have a common pattern  
(sometimes just 3 characters, sometimes 5 like in "B2\_-\_Tom Hades - Connect") you will be left with some remainders.

Why don't you import the data into tag fields first so that the amorphous string become more structured data and then write a new filename with data from the tag fields?

---

<div class="post-metadata">

**Author:** ![X-Tropic](https://community.mp3tag.de/user_avatar/community.mp3tag.de/x-tropic/32/7536_2.png) [@X-Tropic](https://community.mp3tag.de/u/X-Tropic)\
**Post date:** [January 23, 2018, 8:14pm UTC](https://community.mp3tag.de/t/batch-process/19709/3 "2018-01-23T20:14:34Z")

</div>

> [@ohrenkino](#):
>
> you can remove the first characters with a number of functions, e.g.  
> $regexp(%fieldname%,'^...(.\*)',$1)  
> but as you do not have a common pattern  
> (sometimes just 3 characters, sometimes 5 like in "B2\_-\_Tom Hades - Connect") you will be left with some remainders.
> 
> Why don't you import the data into tag fields first so that the amorphous string become more structured data and then write a new filename with data from the tag fields?

thanks for answer. this is .wav files and all fields are empty, only \_FILENAME.  
Will try. 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:** [January 24, 2018, 5:18am UTC](https://community.mp3tag.de/t/batch-process/19709/4 "2018-01-24T05:18:29Z")

</div>

> [@X-Tropic](#):
>
> thanks for answer. this is .wav files and all fields are empty, only \_FILENAME.  
> Will try. thanks.

WAV files can also have tags. MP3tag has that feature since a couple of versions ago.

---

<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:** [January 24, 2018, 1:56pm UTC](https://community.mp3tag.de/t/batch-process/19709/5 "2018-01-24T13:56:37Z")

</div>

> [@X-Tropic](#):
>
> For example:  
> A1-Mike Mango - Believe  
> A2\_Groove Riders - Love  
> B1 Dataworx - Banger  
> B2\_-\_Tom Hades - Connect  
> 01.Fader - Move  
> 02-Moonwalker - Day Two  
> ... How to remove A1,A2,B1,B2 from tunes?

Check it out on a test tagfield, ... probably you can do it this way:

Action "Format value" ... or ... Convert "Tag-Tag"

FN\_TEST \<== $regexp(%_filename%,'\[1\]?\d+[-._]+',)

DD.20180124.1556.CET

* * *

1. AB

---

<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:27pm UTC](https://community.mp3tag.de/t/batch-process/19709/6 "2026-02-09T12:27:12Z")

</div>


