# Need help with a script

**URL:** https://community.mp3tag.de/t/need-help-with-a-script/3075
**Category:** Support
**Created:** [March 22, 2006, 5:24am UTC](https://community.mp3tag.de/t/need-help-with-a-script/3075 "2006-03-22T05:24:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pilaar39](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@pilaar39](https://community.mp3tag.de/u/pilaar39)
#### Post date: [March 22, 2006, 5:24am UTC](https://community.mp3tag.de/t/need-help-with-a-script/3075/1 "2006-03-22T05:24:52Z")

</div>

Can someone please tell me the script to change a specific string of characters in the middle of a filename, to a 3-character numeric sequence?

Also, on a somewhat related topic, I am using the script $num(%\_counter%,3) to append a numeric sequence to file titles.. is there a way I can force this to start at a specific count instead of the default of 001?

Thanks,  
Paul

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 22, 2006, 6:32am UTC](https://community.mp3tag.de/t/need-help-with-a-script/3075/2 "2006-03-22T06:32:08Z")

</div>

> [@](#):
>
> Can someone please tell me the script to change a specific string of characters in the middle of a filename, to a 3-character numeric sequence?

You can use an action Replace or Replace with regular expressions for that. The format string/regular expression depends on the part you want to replace

> [@](#):
>
> Also, on a somewhat related topic, I am using the script $num(%\_counter%,3) to append a numeric sequence to file titles.. is there a way I can force this to start at a specific count instead of the default of 001?

$num($add(%\_counter%,),3)

Best regards,  
~ Florian

---

<div class="post-metadata">

### Author: ![pilaar39](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@pilaar39](https://community.mp3tag.de/u/pilaar39)
#### Post date: [March 23, 2006, 1:03am UTC](https://community.mp3tag.de/t/need-help-with-a-script/3075/3 "2006-03-23T01:03:00Z")

</div>

> [@](#):
>
> You can use an action Replace or Replace with regular expressions for that. The format string/regular expression depends on the part you want to replace  
> $num($add(%\_counter%,),3)
> 
> Best regards,  
> ~ Florian
> 
> \<{POST\_SNAPBACK}\>

THANKS!!! Exactly what I needed!

pl

---

<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:19pm UTC](https://community.mp3tag.de/t/need-help-with-a-script/3075/4 "2026-02-09T12:19:41Z")

</div>


