# \[SOLVE\] Capital letter after a dash and a space like "- "

**URL:** <https://community.mp3tag.de/t/solve-capital-letter-after-a-dash-and-a-space-like/53624>\
**Category:** Support\
**Created:** [June 26, 2021, 3:58am UTC](https://community.mp3tag.de/t/solve-capital-letter-after-a-dash-and-a-space-like/53624 "2021-06-26T03:58:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akhlan](https://community.mp3tag.de/user_avatar/community.mp3tag.de/akhlan/32/9478_2.png) [@Akhlan](https://community.mp3tag.de/u/Akhlan)\
**Post date:** [June 26, 2021, 3:58am UTC](https://community.mp3tag.de/t/solve-capital-letter-after-a-dash-and-a-space-like/53624/1 "2021-06-26T03:58:28Z")

</div>

Hello,

currently, I use the action button to capitalize the characters after "(-\_." and I would like to add the sequence dash + space like "- " so that for example

A new day yesterday - starship trooper (wurm)  
becomes  
A new day yesterday - **S** tarship trooper (Wurm)

or that  
Of scorpions & bells - the devil and me  
becomes  
Of scorpions & bells - **T** he devil and me

but that

One africa (Independence cha-cha)  
remains  
One africa (Independence cha- **c** ha)  
because there is no space after the "-".

Is it possible or not and if so, how?

Thank you  
Akhlan

---

<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:** [June 26, 2021, 5:46am UTC](https://community.mp3tag.de/t/solve-capital-letter-after-a-dash-and-a-space-like/53624/2 "2021-06-26T05:46:19Z")

</div>

> [@Akhlan](#):
>
> A new day yesterday - starship trooper (wurm)  
> becomes  
> A new day yesterday - **S** tarship trooper (Wurm)

Action of the type "Format value"  
`$regexp("A new day yesterday - starship trooper (wurm)",'\((.)','(\u$1')`  
`= A new day yesterday - starship trooper (Wurm)`  
and another  
`$regexp("A new day yesterday - starship trooper (wurm)",' - (.)',' - \u$1')`  
`=A new day yesterday - Starship trooper (wurm)`

---

<div class="post-metadata">

**Author:** ![Akhlan](https://community.mp3tag.de/user_avatar/community.mp3tag.de/akhlan/32/9478_2.png) [@Akhlan](https://community.mp3tag.de/u/Akhlan)\
**Post date:** [June 26, 2021, 3:22pm UTC](https://community.mp3tag.de/t/solve-capital-letter-after-a-dash-and-a-space-like/53624/3 "2021-06-26T15:22:49Z")

</div>

[ohrenkino](https://community.mp3tag.de/u/ohrenkino)  
Thanks, but I have a lot of titles and I can't do an action for each of them one by one

---

<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:** [June 26, 2021, 3:26pm UTC](https://community.mp3tag.de/t/solve-capital-letter-after-a-dash-and-a-space-like/53624/4 "2021-06-26T15:26:13Z")

</div>

Indeed.  
And that is why you insert the property variable name instead of the string constant. The pattern should remain the same.  
In your case I assume that you fiddle with the filename (which could be re-written much easier if you had the correct character cases in the fields) so it shoud look like  
`$regexp(%_filename%,'\((.)','(\u$1')`

---

<div class="post-metadata">

**Author:** ![Akhlan](https://community.mp3tag.de/user_avatar/community.mp3tag.de/akhlan/32/9478_2.png) [@Akhlan](https://community.mp3tag.de/u/Akhlan)\
**Post date:** [June 26, 2021, 5:01pm UTC](https://community.mp3tag.de/t/solve-capital-letter-after-a-dash-and-a-space-like/53624/5 "2021-06-26T17:01:22Z")

</div>

It's perfect, I took the second expression "$regexp("A new day yesterday - starship trooper (wurm)",' - (.)',' - \u$1')" and I adapted it to my case and everything is fine 😉

 ![Sans titre](https://community.mp3tag.de/uploads/default/original/2X/e/e70c505e85ce2afa53e4beb252a793d5d906d5da.jpeg)

---

<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:29pm UTC](https://community.mp3tag.de/t/solve-capital-letter-after-a-dash-and-a-space-like/53624/6 "2026-02-09T12:29:18Z")

</div>


