# Trouble with regular expression

**URL:** https://community.mp3tag.de/t/trouble-with-regular-expression/1508
**Category:** Support
**Created:** [December 6, 2004, 4:19pm UTC](https://community.mp3tag.de/t/trouble-with-regular-expression/1508 "2004-12-06T16:19:16Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![djRickMitchell](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@djRickMitchell](https://community.mp3tag.de/u/djRickMitchell)
#### Post date: [December 6, 2004, 4:19pm UTC](https://community.mp3tag.de/t/trouble-with-regular-expression/1508/1 "2004-12-06T16:19:16Z")

</div>

I've used the regular expression given in the forums to take filenames that are all one word (ie: **ThisIsTheFilenameAllOneWord** ) and change it to having spaces before each of the capital letters so it reads: **This Is The Filename All one Word**.

It now doesn't work with 2.26f.

For reference, the expression involves the following two entries:

**1) "/u" is replaced by " $0"  
2) "^/s" is replaced by ""**

Please let me know what I need to do to get this working again (or what needs to be done behind the scenes to do so.) I use it on probably a daily basis in restructuring filenames and tags.

As always, thanks for credating MP3 tag ... which is such a great, slick and useful tool for handling what would otherwise be a mundane, time consuming and boring task.

RICK

---

<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: [December 6, 2004, 5:59pm UTC](https://community.mp3tag.de/t/trouble-with-regular-expression/1508/2 "2004-12-06T17:59:23Z")

</div>

Please have a look at the two images for proper setup of this task.

Best regards,  
~ Florian

![](https://community.mp3tag.de/uploads/default/original/2X/4/4ee84c6adffdd51030a6790740a120a33528fe72.png)

![](https://community.mp3tag.de/uploads/default/original/2X/6/6448f8a4380392dd80225273fa7d9167db304948.png)

---

<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: [December 6, 2004, 6:10pm UTC](https://community.mp3tag.de/t/trouble-with-regular-expression/1508/3 "2004-12-06T18:10:12Z")

</div>

You must activate case sensitiv comparison!  
Took me some time to figure that out...

---

<div class="post-metadata">

### Author: ![djRickMitchell](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@djRickMitchell](https://community.mp3tag.de/u/djRickMitchell)
#### Post date: [December 6, 2004, 6:21pm UTC](https://community.mp3tag.de/t/trouble-with-regular-expression/1508/4 "2004-12-06T18:21:59Z")

</div>

In the first panel, you have a pipe symbol at the end of the " $0|". That comes up with a nasty error message. I believe someone else who just posted about the case sensitive setting .. might have the solution to my problem. Will report back.

RICK

> [@](#):
>
> Please have a look at the two images for proper setup of this task.
> 
> Best regards,  
> ~ Florian
> 
> \<{POST\_SNAPBACK}\>

---

<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: [December 6, 2004, 6:23pm UTC](https://community.mp3tag.de/t/trouble-with-regular-expression/1508/5 "2004-12-06T18:23:54Z")

</div>

> [@](#):
>
> In the first panel, you have a pipe symbol at the end of the " $0|". That comes up with a nasty error message. I believe someone else who just posted about the case sensitive setting .. might have the solution to my problem. Will report back.
> 
> RICK
> 
> \<{POST\_SNAPBACK}\>

The pipe symbol was my keyboard cursor 😛

Please have a look at the images again. I've updated them about 15 minutes ago.

Best regards,  
~ Florian

---

<div class="post-metadata">

### Author: ![djRickMitchell](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@djRickMitchell](https://community.mp3tag.de/u/djRickMitchell)
#### Post date: [December 6, 2004, 6:27pm UTC](https://community.mp3tag.de/t/trouble-with-regular-expression/1508/6 "2004-12-06T18:27:11Z")

</div>

Yes, activating the case sensitive checkmark box has it working fine now.

RICK

---

<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/trouble-with-regular-expression/1508/7 "2026-02-09T12:19:16Z")

</div>


