# Converting underlines to spaces

**URL:** https://community.mp3tag.de/t/converting-underlines-to-spaces/11543
**Category:** Support
**Created:** [February 4, 2011, 9:36pm UTC](https://community.mp3tag.de/t/converting-underlines-to-spaces/11543 "2011-02-04T21:36:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jimspinnin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/e68b1a/32.png) [@jimspinnin](https://community.mp3tag.de/u/jimspinnin)
#### Post date: [February 4, 2011, 9:36pm UTC](https://community.mp3tag.de/t/converting-underlines-to-spaces/11543/1 "2011-02-04T21:36:45Z")

</div>

Ok, I love Mp3tag, but have a question. When I have a song where it is named like this

artist\_name-title\_of\_the\_song

I know haw to make it as the tag, but how do I take the above and make the underlines into space so that in the appropriate fields it will be like this.

artist name-title of the song

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [February 4, 2011, 10:43pm UTC](https://community.mp3tag.de/t/converting-underlines-to-spaces/11543/2 "2011-02-04T22:43:32Z")

</div>

I guess artist\_name-title\_of\_the\_song.mp3 is your filename? Please be more exact about that, there are many ways a song can be "named".

If it is your filename:

Step by Step Solution:

1.Step:  
Action: Replace  
Field: \_FILENAME  
Original: \_  
Replace with : " " _(without quotationmarks, just a single space)_

2.Step:  
Action: Case Conversion  
Field: \_FILENAME  
Case Conversion: Mixed Case  
Words begin from/after any of: -

3.Step:  
Converter: Filename - Tag  
Formatstring: %artist%-%title%

One Step Solution:  
Action: Guess Values  
Sourceformat: $caps($replace(%_filename%,_, ),- )  
Formatstring: %artist%-%title%

---

<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:22pm UTC](https://community.mp3tag.de/t/converting-underlines-to-spaces/11543/3 "2026-02-09T12:22:53Z")

</div>


