# Remove square brackets

**URL:** https://community.mp3tag.de/t/remove-square-brackets/2968
**Category:** Support
**Created:** [February 26, 2006, 8:32am UTC](https://community.mp3tag.de/t/remove-square-brackets/2968 "2006-02-26T08:32:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![droseman](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/71e660/32.png) [@droseman](https://community.mp3tag.de/u/droseman)
#### Post date: [February 26, 2006, 8:32am UTC](https://community.mp3tag.de/t/remove-square-brackets/2968/1 "2006-02-26T08:32:19Z")

</div>

Hi,

I have many files where the title tag is missing, and is just reported as the filename tag - e.g Filename [William Orbit]-Ravel Pavane, Ttitle [William Orbit]-Ravel Pavane

Is it possible to remove all the text within the square brackets and the following dash, leaving just the title in the title field?

Thanks

Dave 🙂

---

<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 26, 2006, 12:45pm UTC](https://community.mp3tag.de/t/remove-square-brackets/2968/2 "2006-02-26T12:45:07Z")

</div>

Make a [new action](https://community.mp3tag.de/t/967/1)

_Action type:_ **Replace with regular expressions**  
_Field:_ **TITLE**  
_Regular expression:_ **^[.\*?]-**  
_Replace matches with:_

[] case-sensitive comparison

---

<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/remove-square-brackets/2968/3 "2026-02-09T12:19:39Z")

</div>


