# Select capital words containing more then 3 letters

**URL:** <https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235>\
**Category:** Support\
**Created:** [October 14, 2014, 10:57am UTC](https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235 "2014-10-14T10:57:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ForSSound](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/258eb7/32.png) [@ForSSound](https://community.mp3tag.de/u/ForSSound)\
**Post date:** [October 14, 2014, 10:57am UTC](https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235/1 "2014-10-14T10:57:23Z")

</div>

Hi There,

I would like to select and keep in my Genre tag only capital words containing more then 3 letters.

I thought a ([A-Z]{3,}) would do the trick but it doesn't.

Can anybody help me out here?  
Thanks in advance  
Guy

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [October 14, 2014, 12:52pm UTC](https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235/2 "2014-10-14T12:52:51Z")

</div>

> [@ForSSOund](#):
>
> I would like to select and keep in my Genre tag only capital words containing more then 3 letters. ...

Select means Filter?

**GENRE MATCHES "(?-i)\u{4,}"**

The opposite Filter

**NOT GENRE MATCHES "(?-i)\u{4,}"**

Note: Per default the Filter is case insensitive.

DD.20141014.1727.CEST, DD.20150831.1246.CEST

---

<div class="post-metadata">

**Author:** ![ForSSound](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/258eb7/32.png) [@ForSSound](https://community.mp3tag.de/u/ForSSound)\
**Post date:** [October 15, 2014, 5:24am UTC](https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235/3 "2014-10-15T05:24:04Z")

</div>

> [@DetlevD](#):
>
> Select means Filter?
> 
> **GENRE MATCHES "(?-i)\u{3,}"**
> 
> The opposite Filter
> 
> **NOT GENRE MATCHES "(?-i)\u{3,}"**
> 
> Note: Per default the Filter is case insensitive.
> 
> DD.20141014.1727.CEST

Thanks for your fast answer.. it's indeed the "NOT GENRE MATCHES" I need.  
However how do I apply this?

I normally work with Replace by Regular expression Action

Kind Regards  
Guy Forssman

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [October 15, 2014, 7:26am UTC](https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235/4 "2014-10-15T07:26:42Z")

</div>

> [@ForSSOund](#):
>
> ... However how do I apply this? ...

You may reduce this if-then-clause into one regular expression.  
Action "Format value"  
Field: GENRE  
Formatstring: **$if($eql($regexp(%GENRE%,'\u{4,}',),%GENRE%),,%GENRE%)**

DD.20141015.1126.CEST, DD.20150831.1247.CEST

---

<div class="post-metadata">

**Author:** ![ForSSound](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/258eb7/32.png) [@ForSSound](https://community.mp3tag.de/u/ForSSound)\
**Post date:** [October 21, 2014, 5:23am UTC](https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235/5 "2014-10-21T05:23:16Z")

</div>

> [@DetlevD](#):
>
> You may reduce this if-then-clause into one regular expression.  
> Action "Format value"  
> Field: GENRE  
> Formatstring: **$if($eql($regexp(%GENRE%,'\u{3,}',),%GENRE%),,%GENRE%)**
> 
> DD.20141015.1126.CEST

Thank you very much for replying but this doesn't seem to be working...  
When i apply this to a Genre Tag I don't get the expected result.

Can you tell me please which flavor of regular expression is the closet to what mp3tag uses?  
I'm trying to let RegexMagic help me but don't know which flavor to use

Kind Regards  
Guy Forssman

---

<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:** [October 21, 2014, 8:59am UTC](https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235/6 "2014-10-21T08:59:25Z")

</div>

> [@ForSSOund](#):
>
> Thank you very much for replying but this doesn't seem to be working...  
> When i apply this to a Genre Tag I don't get the expected result.
> 
> Can you tell me please which flavor of regular expression is the closet to what mp3tag uses?  
> I'm trying to let RegexMagic help me but don't know which flavor to use
> 
> Kind Regards  
> Guy Forssman

A filter like this might help:  
"$ifgreater($len(%genre%),3,yes,no)" IS yes

Searching for "Mp3tag regular expression dialect" offers this link:  
[http://forums.mp3tag.de/lofiversion/index.php?t5653.html](http://forums.mp3tag.de/lofiversion/index.php?t5653.html)

---

<div class="post-metadata">

**Author:** ![ForSSound](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/258eb7/32.png) [@ForSSound](https://community.mp3tag.de/u/ForSSound)\
**Post date:** [October 21, 2014, 12:27pm UTC](https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235/7 "2014-10-21T12:27:52Z")

</div>

> [@ohrenkino](#):
>
> A filter like this might help:  
> "$ifgreater($len(%genre%),3,yes,no)" IS yes
> 
> Searching for "Mp3tag regular expression dialect" offers this link:  
> [http://forums.mp3tag.de/lofiversion/index.php?t5653.html](http://forums.mp3tag.de/lofiversion/index.php?t5653.html)

Thank you very much for clarifying..  
I should of course thought about dialect..

I'm not familiar how filtering a list would help me editing the metadata..  
In the end I used these 2 groups of regular expression which needs little cleanup.  
The first group removes as much as possible Non Letters and spaces.  
The latest group is also the latest line.  
{2,} REPLACE BY: nothing  
; REPLACE BY: ;  
[\>]|[.]|[)]|[(]|[¦]|[-]|[']|[\\]|[/]|[:]|\d REPLACE BY: nothing  
{2,} REPLACE BY: nothing  
[A-Z][a-z]{3,}|[a-z\s]{2,}|[A-Z]{1,3} : REPLACE BY: nothing case sensitive

Afterwards there's still some cleaning to be done but that whent rather smooth..  
Thanks for all the help..specially about the Flavor / Dialect / Language Perl

Kind Regards  
Guy Forssman

---

<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:25pm UTC](https://community.mp3tag.de/t/select-capital-words-containing-more-then-3-letters/16235/8 "2026-02-09T12:25:19Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


