<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Regex_%C3%9Cbungen_L%C3%B6sungen</id>
	<title>Regex Übungen Lösungen - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Regex_%C3%9Cbungen_L%C3%B6sungen"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Regex_%C3%9Cbungen_L%C3%B6sungen&amp;action=history"/>
	<updated>2026-06-29T11:21:45Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Regex_%C3%9Cbungen_L%C3%B6sungen&amp;diff=58612&amp;oldid=prev</id>
		<title>Alexej.harbig am 28. November 2024 um 08:17 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Regex_%C3%9Cbungen_L%C3%B6sungen&amp;diff=58612&amp;oldid=prev"/>
		<updated>2024-11-28T08:17:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 28. November 2024, 08:17 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot; &gt;Zeile 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;7. Suche nach Zeilen, in denen entweder Katzen oder Hunde vorkommen.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;7. Suche nach Zeilen, in denen entweder Katzen oder Hunde vorkommen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -E &amp;quot;Katzen|Hunde&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -E &amp;quot;Katzen|Hunde&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Das -E für extended regular expressions ist nötig da | sonst nicht als REGEX erkannt wird&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;8. Finde Zeilen mit Anführungszeichen (&amp;quot;).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;8. Finde Zeilen mit Anführungszeichen (&amp;quot;).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff::1.12:old-58611:rev-58612 --&gt;
&lt;/table&gt;</summary>
		<author><name>Alexej.harbig</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Regex_%C3%9Cbungen_L%C3%B6sungen&amp;diff=58611&amp;oldid=prev</id>
		<title>Alexej.harbig am 28. November 2024 um 08:15 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Regex_%C3%9Cbungen_L%C3%B6sungen&amp;diff=58611&amp;oldid=prev"/>
		<updated>2024-11-28T08:15:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 28. November 2024, 08:15 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Zeile 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;5. Suche nach Zeilen, die mit einem Punkt . enden.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;5. Suche nach Zeilen, die mit einem Punkt . enden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep &amp;quot;\.$&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep &amp;quot;\.$&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Das \ Zeichen lässt . als sich selbst interpretieren statt als REGEX..&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;6. Finde Zeilen, in denen die Zahl 2 als eigenständige Zahl vorkommt (z. B. nicht in 42).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;6. Finde Zeilen, in denen die Zahl 2 als eigenständige Zahl vorkommt (z. B. nicht in 42).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alexej.harbig</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Regex_%C3%9Cbungen_L%C3%B6sungen&amp;diff=58524&amp;oldid=prev</id>
		<title>Alexej.harbig: Die Seite wurde neu angelegt: „1. Finde alle Zeilen, die das Wort Alice enthalten. &lt;pre&gt;grep &quot;Alice&quot; text.txt&lt;/pre&gt; ---- 2. Finde Zeilen, die mit einem Großbuchstaben beginnen. &lt;pre&gt;grep &quot;^…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Regex_%C3%9Cbungen_L%C3%B6sungen&amp;diff=58524&amp;oldid=prev"/>
		<updated>2024-11-27T07:15:29Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „1. Finde alle Zeilen, die das Wort Alice enthalten. &amp;lt;pre&amp;gt;grep &amp;quot;Alice&amp;quot; text.txt&amp;lt;/pre&amp;gt; ---- 2. Finde Zeilen, die mit einem Großbuchstaben beginnen. &amp;lt;pre&amp;gt;grep &amp;quot;^…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;1. Finde alle Zeilen, die das Wort Alice enthalten.&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;Alice&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
2. Finde Zeilen, die mit einem Großbuchstaben beginnen.&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;^[A-Z]&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
3. Suche nach Zeilen, die eine Zahl enthalten.&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;[0-9]&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
4. Finde Zeilen, in denen das Wort Charlie am Anfang steht.&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;^Charlie&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
5. Suche nach Zeilen, die mit einem Punkt . enden.&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;\.$&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
6. Finde Zeilen, in denen die Zahl 2 als eigenständige Zahl vorkommt (z. B. nicht in 42).&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;\b2\b&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
7. Suche nach Zeilen, in denen entweder Katzen oder Hunde vorkommen.&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -E &amp;quot;Katzen|Hunde&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
8. Finde Zeilen mit Anführungszeichen (&amp;quot;).&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;\&amp;quot;&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
9. Suche nach Zeilen, in denen eine Zahl mit mindestens zwei Ziffern vorkommt.&lt;br /&gt;
&amp;lt;pre&amp;gt;grep &amp;quot;[0-9]\{2,\}&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
10. Finde Zeilen, die den Buchstaben b (Groß- oder Kleinschreibung) enthalten.&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -i &amp;quot;b&amp;quot; text.txt&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alexej.harbig</name></author>
	</entry>
</feed>