# Trouble with replacing action

**URL:** https://community.mp3tag.de/t/trouble-with-replacing-action/9861
**Category:** General Discussion
**Created:** [February 9, 2010, 6:33pm UTC](https://community.mp3tag.de/t/trouble-with-replacing-action/9861 "2010-02-09T18:33:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![olemu](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/d2c977/32.png) [@olemu](https://community.mp3tag.de/u/olemu)
#### Post date: [February 9, 2010, 6:33pm UTC](https://community.mp3tag.de/t/trouble-with-replacing-action/9861/1 "2010-02-09T18:33:08Z")

</div>

Hello all. I just can't seem to get this right, and wondered if someone could help;

I am trying to get unwanted characters off the end of the TRACK field.

Sometimes the track field has album tracks as 01/14, 02/13, 04/14 etc. (eg. for a 14 track album)  
I want to change these to 1,2,3,4, etc,  
I can do the bit to get rid of the leading 0, but I just can't seem to get rid of the /?? bit (if it exists).  
TIA ![:unsure:](https://community.mp3tag.de/uploads/default/original/1X/cfaeba84fe6704387c5b34dfdd8172bd51b6f533.gif ":unsure:")

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [February 9, 2010, 6:39pm UTC](https://community.mp3tag.de/t/trouble-with-replacing-action/9861/2 "2010-02-09T18:39:18Z")

</div>

_Action type:_ **Format value**  
_Field:_ **TRACK**  
_Formatstring:_ **[$num(%track%,1)]**

---

<div class="post-metadata">

### Author: ![olemu](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/d2c977/32.png) [@olemu](https://community.mp3tag.de/u/olemu)
#### Post date: [February 9, 2010, 6:45pm UTC](https://community.mp3tag.de/t/trouble-with-replacing-action/9861/3 "2010-02-09T18:45:40Z")

</div>

Thanks
