# I'm Trying......Tags

**URL:** <https://community.mp3tag.de/t/im-trying-tags/18043>\
**Category:** Support\
**Created:** [June 16, 2016, 4:49pm UTC](https://community.mp3tag.de/t/im-trying-tags/18043 "2016-06-16T16:49:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![auldyin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/b38774/32.png) [@auldyin](https://community.mp3tag.de/u/auldyin)\
**Post date:** [June 16, 2016, 4:49pm UTC](https://community.mp3tag.de/t/im-trying-tags/18043/1 "2016-06-16T16:49:25Z")

</div>

I have been trying to learn about Regular Expressions and have to admit that I find it difficult.  
Using various bits and pieces I am trying to sort out McX

RE: Mc Words.  
Field: Tag  
Regular Expression: \bMc(?=.)  
Replace Matches with: Mc$upper($1)

Unfortunately this still produces Mcx

Help!

---

<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 16, 2016, 5:38pm UTC](https://community.mp3tag.de/t/im-trying-tags/18043/2 "2016-06-16T17:38:55Z")

</div>

I think that the $upper() does not work in a regexp.  
Try Mc\U$1

---

<div class="post-metadata">

**Author:** ![auldyin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/b38774/32.png) [@auldyin](https://community.mp3tag.de/u/auldyin)\
**Post date:** [June 17, 2016, 10:58am UTC](https://community.mp3tag.de/t/im-trying-tags/18043/3 "2016-06-17T10:58:05Z")

</div>

> [@ohrenkino](#):
>
> I think that the $upper() does not work in a regexp.  
> Try Mc\U$1

Thanks for the input.  
Unfortunately does not work

---

<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 17, 2016, 11:36am UTC](https://community.mp3tag.de/t/im-trying-tags/18043/4 "2016-06-17T11:36:47Z")

</div>

> [@auldyin](#):
>
> Thanks for the input.  
> Unfortunately does not work

$regexp('Mc x','Mc (.)',Mc \U$1)  
leads to  
Mc X

---

<div class="post-metadata">

**Author:** ![auldyin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/b38774/32.png) [@auldyin](https://community.mp3tag.de/u/auldyin)\
**Post date:** [June 17, 2016, 12:14pm UTC](https://community.mp3tag.de/t/im-trying-tags/18043/5 "2016-06-17T12:14:54Z")

</div>

> [@ohrenkino](#):
>
> $regexp('Mc x','Mc (.)',Mc \U$1)  
> leads to  
> Mc X

Still no success with that 'o' I'm afraid.  
Don't really know what I'm doing tho'.

---

<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:** [June 17, 2016, 1:17pm UTC](https://community.mp3tag.de/t/im-trying-tags/18043/6 "2016-06-17T13:17:12Z")

</div>

> [@auldyin](#):
>
> ... I am trying to sort out McX ...

**Action "Format value" Field: TEST\_1 Formatstring: 'Mr. Mcguyver' Action "Format value" Field: TEST\_1 Formatstring: $regexp(%TEST\_1%,'\bMc(.)','Mc\u$1') ==\> TEST\_1 = Mr. McGuyver ------------------------- Action "Format value" Field: TEST\_2 Formatstring: 'Mr. Mcguyver' Action "Replace with regular Expression" Field: TEST\_2 Regular Expression: \bMc(.) Replace matches with: Mc$upper($1) ==\> TEST\_2 = Mr. McGuyver ------------------------- Action "Format value" Field: TEST\_3 Formatstring: 'Mr. Mcguyver' Action "Replace with regular Expression" Field: TEST\_3 Regular Expression: \bMc(.) Replace matches with: Mc\u$1 ==\> TEST\_3 = Mr. McGuyver -------------------------**

DD.20160617.1717.CEST

---

<div class="post-metadata">

**Author:** ![auldyin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/b38774/32.png) [@auldyin](https://community.mp3tag.de/u/auldyin)\
**Post date:** [June 17, 2016, 2:21pm UTC](https://community.mp3tag.de/t/im-trying-tags/18043/7 "2016-06-17T14:21:06Z")

</div>

> [@DetlevD](#):
>
> **Action "Format value" Field: TEST\_1 Formatstring: 'Mr. Mcguyver' Action "Format value" Field: TEST\_1 Formatstring: $regexp(%TEST\_1%,'\bMc(.)','Mc\u$1') ==\> TEST\_1 = Mr. McGuyver ------------------------- Action "Format value" Field: TEST\_2 Formatstring: 'Mr. Mcguyver' Action "Replace with regular Expression" Field: TEST\_2 Regular Expression: \bMc(.) Replace matches with: Mc$upper($1) ==\> TEST\_2 = Mr. McGuyver ------------------------- Action "Format value" Field: TEST\_3 Formatstring: 'Mr. Mcguyver' Action "Replace with regular Expression" Field: TEST\_3 Regular Expression: \bMc(.) Replace matches with: Mc\u$1 ==\> TEST\_3 = Mr. McGuyver -------------------------**
> 
> Thanks D!  
> Please excuse my abject ignorance.  
> I don't know how to use this but do follow what each step is achieving. The green colour coding is causing me grief as placing George Mccrae with or without the apostrophe makes no difference resulting in no Capitalising of the 'C'. This undoubtedly will be as a result of my lack of knowledge!  
> Help
> 
> DD.20160617.1717.CEST

---

<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:** [June 17, 2016, 3:00pm UTC](https://community.mp3tag.de/t/im-trying-tags/18043/8 "2016-06-17T15:00:05Z")

</div>

> [@](#):
>
> ... I don't know how to use this but do follow what each step is achieving. ...

I gave you three different examples to try out.  
At first, you should try to follow the examples, they work.  
If you have success, then use an example with your values.

DD.20160617.1900.CEST

---

<div class="post-metadata">

**Author:** ![auldyin](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/b38774/32.png) [@auldyin](https://community.mp3tag.de/u/auldyin)\
**Post date:** [June 18, 2016, 3:10pm UTC](https://community.mp3tag.de/t/im-trying-tags/18043/9 "2016-06-18T15:10:23Z")

</div>

> [@DetlevD](#):
>
> I gave you three different examples to try out.  
> At first, you should try to follow the examples, they work.  
> If you have success, then use an example with your values.
> 
> DD.20160617.1900.CEST

Got it D.  
Thanks very much!!!

---

<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:26pm UTC](https://community.mp3tag.de/t/im-trying-tags/18043/10 "2026-02-09T12:26:18Z")

</div>

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


