# Wozu wird die Variable $1 eingesetzt?

**URL:** <https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448>\
**Category:** Allgemein\
**Created:** [February 23, 2022, 12:21pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448 "2022-02-23T12:21:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mibri3944](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/6de8d8/32.png) [@mibri3944](https://community.mp3tag.de/u/mibri3944)\
**Post date:** [February 23, 2022, 12:21pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448/1 "2022-02-23T12:21:25Z")

</div>

Hallo,

ich suche eine Info über die Variabelen S[x] was bewirkt diese Variable und wo wird sie eingesetzt.

Gruß

Michael

---

<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:** [February 23, 2022, 12:27pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448/2 "2022-02-23T12:27:08Z")

</div>

Könntest du bitte zeigen, wo du diesen Ausdruck im Zusammenhang mit MP3tag gefunden hast?

---

<div class="post-metadata">

**Author:** ![mibri3944](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/6de8d8/32.png) [@mibri3944](https://community.mp3tag.de/u/mibri3944)\
**Post date:** [February 23, 2022, 1:12pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448/3 "2022-02-23T13:12:26Z")

</div>

Entschuldigung war nicht S[x] sondern hier

 ![grafik](https://community.mp3tag.de/uploads/default/original/2X/c/c4e795a39f91b85be4b2711e5f68dddea4eeb7c1.png)

---

<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:** [February 23, 2022, 1:17pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448/4 "2022-02-23T13:17:07Z")

</div>

Ich verstehe es nicht.  
Das von dir gezeigte Thema ist abgeschlossen - und S[x] kommt auch nicht vor ...  
Was also ist deine Frage?

---

<div class="post-metadata">

**Author:** ![mibri3944](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/6de8d8/32.png) [@mibri3944](https://community.mp3tag.de/u/mibri3944)\
**Post date:** [February 23, 2022, 1:29pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448/5 "2022-02-23T13:29:00Z")

</div>

Hallo  
ich meine $1 und $2

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [February 23, 2022, 1:38pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448/6 "2022-02-23T13:38:46Z")

</div>

Diese Variablen gehören zu einem [regulären Ausdruck](https://de.wikipedia.org/wiki/Regul%C3%A4rer_Ausdruck).

Die beiden Klammernpaare `(\l)` und `(\u)` suchen nach Zeichen in Kleinbuchstaben (" **l** owercase") gefolgt von Zeichen in Grossbuchstaben (" **u** ppercase").

Treffer für diese beiden Suchbegriffe werden als `$1` getrennt mit einem Leerschlag und `$2` zurückgegeben.

Im Beispiel wird aus `DiesIstDerTitel` durch Anwendung des regulären Ausdruckes  
`Dies Ist Der Titel`:  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/4/429f5e4e200eadb48ea55e5cdd619e8383616937.png)

---

<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:** [February 23, 2022, 1:45pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448/7 "2022-02-23T13:45:46Z")

</div>

$N ist übrigens auch in der [Hilfe](https://docs.mp3tag.de/regex/?de) beschrieben:

> Parentheses serve two purposes,
> 
> - to group items together into a subexpression, and
> - to mark what generated the match. `$N` Expands to the text that matched sub-expression `N` in **Replace matches with**.

---

<div class="post-metadata">

**Author:** ![mibri3944](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/6de8d8/32.png) [@mibri3944](https://community.mp3tag.de/u/mibri3944)\
**Post date:** [February 23, 2022, 1:57pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448/8 "2022-02-23T13:57:02Z")

</div>

Danke schön für die Hilfe  
Habe verstanden

---

<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:** [March 25, 2022, 1:57pm UTC](https://community.mp3tag.de/t/wozu-wird-die-variable-1-eingesetzt/56448/9 "2022-03-25T13:57:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
