<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Spielend programmieren (Posts about markdown)</title><link>https://spielend-programmieren.at/</link><description></description><atom:link href="https://spielend-programmieren.at/en/categories/markdown.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 &lt;a href="mailto:horstjens@gmail.com"&gt;Horst JENS&lt;/a&gt; &lt;a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"&gt;&lt;/a&gt;This work is licensed under a &lt;a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"&gt;Creative Commons Attribution-ShareAlike 4.0 International License &lt;img alt="Creative Commons License" style="border-width:0" src="/images/ccbysa_small.png" /&gt;&lt;/a&gt;.</copyright><lastBuildDate>Thu, 26 Feb 2026 21:45:13 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>How to convert dokuwiki links into markdown using regex</title><link>https://spielend-programmieren.at/en/posts/2021/dokuwikiregex/</link><dc:creator>Horst JENS</dc:creator><description>&lt;div&gt;&lt;p&gt;While I was always aware of the fact that &lt;a href="https://en.wikipedia.org/wiki/Regular_expression"&gt;regular expressions (regex)&lt;/a&gt; are a very powerful search-and-replace tool, I hardly ever used them in practice. For my humble needs, the built-in search-and-replace tool of my favorite text editor &lt;a href="https://geany.org/"&gt;Geany&lt;/a&gt; is more than sufficient. From time to time, when I run into complex cases, I usually write a small &lt;a href="https://python.org"&gt;Python&lt;/a&gt; script. &lt;/p&gt;
&lt;p&gt;This morning, while converting old Dokuwiki-shownotes pages from my podcast into markdown format, I finally gave in: I wanted to solve a task using regular expressions. &lt;/p&gt;
&lt;p&gt;The task was already solved inside a larger hand-written python script of mine, but I thought it would be nice to have a singular regex string that I can copy/paste into the search-replace dialog of Geany.&lt;/p&gt;
&lt;p&gt;The task is this one:&lt;/p&gt;
&lt;p&gt;convert a hyperlink from dokuwiki's format into markdown format.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;example:&lt;/p&gt;
&lt;p&gt;source: (dokuwiki format) &lt;code&gt;[[https://geany.org|Geany text editor]]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;desired result (markdown format): &lt;code&gt;[Geany text editor](https://geany.org)&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://spielend-programmieren.at/en/posts/2021/dokuwikiregex/"&gt;Read more…&lt;/a&gt; (3 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>blogging_english</category><category>dokuwiki</category><category>markdown</category><category>regex</category><guid>https://spielend-programmieren.at/en/posts/2021/dokuwikiregex/</guid><pubDate>Fri, 30 Apr 2021 20:00:20 GMT</pubDate></item></channel></rss>