# Remove characters after / before

**URL:** https://community.mp3tag.de/t/remove-characters-after-before/53365
**Category:** Mac
**Created:** [May 29, 2021, 3:29pm UTC](https://community.mp3tag.de/t/remove-characters-after-before/53365 "2021-05-29T15:29:02Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 29, 2021, 3:55pm UTC](https://community.mp3tag.de/t/remove-characters-after-before/53365/2 "2021-05-29T15:55:57Z")

</div>

> [@Blako78](#):
>
> I would like to have only one key Example : 9A/9B to 9A

Try an action of the type "Replace with regular expression"  
Search string: `/.*`  
Replace string:  
(leave empty)

> [@Blako78](#):
>
> Also any action to copy the same comment section to key section

To copy one field contents to another field, see the [FAQs/HowTos](https://community.mp3tag.de/t/actions-and-batch-operations/967/15)

---

_[View the full topic](https://community.mp3tag.de/t/remove-characters-after-before/53365)._
