# Copy Track number in filename to track tag

**URL:** <https://community.mp3tag.de/t/copy-track-number-in-filename-to-track-tag/11802>\
**Category:** Support\
**Created:** [March 31, 2011, 9:49pm UTC](https://community.mp3tag.de/t/copy-track-number-in-filename-to-track-tag/11802 "2011-03-31T21:49:15Z")\
**Posts on this page:** 1\
**Showing post:** 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:** [March 31, 2011, 9:49pm UTC](https://community.mp3tag.de/t/copy-track-number-in-filename-to-track-tag/11802/1 "2011-03-31T21:49:15Z")

</div>

I can get the filename itself to pass into the track tag via actions with format value of \> field : track to format string : %\_filename%

That will force file name into track tag. But all I want is the 01 part of the file name to enter into the track tag.

01 (Tony Toni Tone) Feels Good.mp3

I've tried ^.{2}%\_filename% to the field and variants to %track% but nothing seems to work.

What am I missing?

Can someone help me out?

Thanks

---

_[View the full topic](https://community.mp3tag.de/t/copy-track-number-in-filename-to-track-tag/11802)._
