# Deleting "some" text from a title

**URL:** https://community.mp3tag.de/t/deleting-some-text-from-a-title/65701
**Category:** Support
**Created:** [August 23, 2024, 2:07am UTC](https://community.mp3tag.de/t/deleting-some-text-from-a-title/65701 "2024-08-23T02:07:37Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [August 23, 2024, 4:59am UTC](https://community.mp3tag.de/t/deleting-some-text-from-a-title/65701/2 "2024-08-23T04:59:33Z")

</div>

Here is an example action that removes leading track numbers (incl. spaces and the hyphen):

> [@Actions and batch-operations](https://community.mp3tag.de/t/actions-and-batch-operations/967/11):
>
> 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/deleting-some-text-from-a-title/65701)._
