# Actions and batch-operations

**URL:** https://community.mp3tag.de/t/actions-and-batch-operations/967
**Category:** FAQ (Frequently Asked Questions)
**Created:** [April 16, 2004, 7:46am UTC](https://community.mp3tag.de/t/actions-and-batch-operations/967 "2004-04-16T07:46:06Z")
**Posts on this page:** 1
**Showing post:** 11

<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: [April 16, 2004, 3:54pm UTC](https://community.mp3tag.de/t/actions-and-batch-operations/967/11 "2004-04-16T15:54:34Z")

</div>

### How to remove/trim leading track numbers?

Action type: Replace with regular expressions  
Regular expression: **`^\s*\d+\s*-\s*`**  
Replace matches with:

This regular expression removes the track number from `01 - Anything..` so that only `Anything...` remains.  
**`^`** matches the beginning of the string. Then any numbers of whitespaces **`\s*`** followed by numbers from 0-9.  
The **`\s*-\s*`** part removes the hyphen and any whitespace characters around it.

---

_[View the full topic](https://community.mp3tag.de/t/actions-and-batch-operations/967)._
