<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Convert 24 hour military time to 12 hour time]]></title><description><![CDATA[<p dir="auto">This seems it would be simple, but I have not found any post anywhere on how to change in Notepad++, time from the 24 hour format to 12 hour format. Ideally doing so without having to manually edit each line. Is there a macro, or some plugin that could automate this a bit?</p>
<p dir="auto">Tue, 01 Jan 2019 21:30-23:30 10.3 Copper Canyon</p>
<p dir="auto">For example, in the above, I would like ideally the format to change to this below.<br />
Tue, 01 Jan 2019 9:30 pm - 11:30 pm</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16854/convert-24-hour-military-time-to-12-hour-time</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 03:30:27 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16854.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Jan 2019 23:31:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Fri, 17 May 2019 17:15:02 GMT]]></title><description><![CDATA[<p dir="auto">Related cross-link:  <a href="https://notepad-plus-plus.org/community/topic/17649/12-hour-to-24-hour-clock-conversion" rel="nofollow ugc">https://notepad-plus-plus.org/community/topic/17649/12-hour-to-24-hour-clock-conversion</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/43506</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43506</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 17 May 2019 17:15:02 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Fri, 17 May 2019 16:45:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> how can I convert a 12-hour clock to 24-hour up to ms using this syntax? thanks</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43500</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43500</guid><dc:creator><![CDATA[Sophia Cruz]]></dc:creator><pubDate>Fri, 17 May 2019 16:45:15 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Fri, 04 Jan 2019 18:28:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a></p>
<p dir="auto">i like your kind of exercises (the reason why i thought about you right away when i saw this regex)</p>
<p dir="auto">and … if you keep training like this, you will probably be able to compile the code of notepad++ in your brain natively and hex-type the resulting .exe by hand ;-)</p>
<p dir="auto">seriously: best regards and as always both thumbs up ! 👍👍</p>
]]></description><link>https://community.notepad-plus-plus.org/post/38027</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/38027</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Fri, 04 Jan 2019 18:28:20 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Fri, 17 May 2019 20:05:04 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/dawn-juchum" aria-label="Profile: dawn-juchum">@<bdi>dawn-juchum</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/meta-chuh" aria-label="Profile: meta-chuh">@<bdi>meta-chuh</bdi></a> and **All,</p>
<p dir="auto">As for me, I thought about a <strong>coding table</strong>, giving all the <strong>correspondences</strong> between the <strong><code>24-hour</code></strong> format and the <strong><code>12-hour</code></strong> format. This table is just a <strong>single</strong> line which must be the <strong>last</strong> one of the <strong>current</strong> file, even <strong>without</strong> a final line-break. This line is :</p>
<p dir="auto"><strong><code>12a 00 01a 01 02a 02 03a 03 04a 04 05a 05 06a 06 07a 07 08a 08 09a 09 10a 10 11a 11 12p 12 01p 13 02p 14 03p 15 04p 16 05p 17 06p 18 07p 19 08p 20 09p 21 10p 22 11p 23   # This LAST line must be ADDED at the END of THE CURRENT file</code></strong></p>
<hr />
<p dir="auto">Then, I created <strong><code>3</code></strong> S/R, using this <strong>final</strong> line :</p>
<ul>
<li>
<p dir="auto">The S/R <strong>A</strong> will replace any form <strong><code>8:23 am</code></strong> , <strong><code>8:23 AM</code></strong> , <strong><code>8:23am</code></strong> , <strong><code>8:23AM</code></strong> , <strong><code>08:23 am</code></strong> , <strong><code>08:23 AM</code></strong> , <strong><code>08:23am</code></strong> or <strong><code>08:23AM</code></strong>, preceded by a <strong>non-word</strong> char, with the <strong>24-hour</strong> value <strong><code>08:23</code></strong></p>
</li>
<li>
<p dir="auto">The S/R <strong>B</strong> will replace any <strong>24-hour</strong> form, not followed with <strong><code>\x20?(am|pm|AM|PM)</code></strong>, such as <strong><code>08:23</code></strong>, with the <strong>12-Hour</strong> value <strong><code>08:23 am</code></strong></p>
</li>
<li>
<p dir="auto">The S/R <strong>C</strong> will replace any <strong>24-hour</strong> form, not followed with <strong><code>\x20?(am|pm|AM|PM)</code></strong>, such as <strong><code>08:23</code></strong>, with the <strong>12-Hour</strong> value <strong><code>8:23 am</code></strong></p>
</li>
</ul>
<p dir="auto">Note that, between the <strong>B</strong> and <strong>C</strong> S/R, the <strong>Search</strong> part remains <strong>identical</strong>. Just, the <strong>Replace</strong> part is <strong>slightly</strong> modified !</p>
<hr />
<p dir="auto">And the different S/R are :</p>
<ul>
<li><strong>A</strong> S/R :</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?si)\b(?:(0[0-9]|1[0-2])|(\d))(:[0-5][0-9])\x20?(a|p)m(?=.+(?-s)^.*(?:\1|0\2)\4\x20(\d\d).*\Z)</code></strong></p>
<p dir="auto">REPLACE <strong><code>\5\3</code></strong></p>
<ul>
<li><strong>B</strong> S/R :</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?si)\b([0-1][0-9]|2[0-3])(:[0-5][0-9])(?!\x20?[ap]m)(?=.+(?-s)^.*(?:(0)|1)(\d)(a|p)\x20\1.*\Z)</code></strong></p>
<p dir="auto">REPLACE <strong><code>(?{3}0:1)\4\2\x20\5m</code></strong></p>
<ul>
<li><strong>C</strong> S/R :</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?si)\b([0-1][0-9]|2[0-3])(:[0-5][0-9])(?!\x20?[ap]m)(?=.+(?-s)^.*(?:(0)|1)(\d)(a|p)\x20\1.*\Z)</code></strong></p>
<p dir="auto">REPLACE <strong><code>(?{3}:1)\4\2\x20\5m</code></strong></p>
<hr />
<p dir="auto">So, given the <strong>initial</strong> text, below :</p>
<pre><code class="language-diff">12:00am
12:04 am
1:07am
03:17 am
5:23AM
07:31AM
9:43AM
11:57 AM
12:00 pm
02:04pm
4:15 pm
06:22PM
8:33 PM
10:45PM
11:59 PM
.....
.....
.....
.....
.....
.....
.....
12a 00 01a 01 02a 02 03a 03 04a 04 05a 05 06a 06 07a 07 08a 08 09a 09 10a 10 11a 11 12p 12 01p 13 02p 14 03p 15 04p 16 05p 17 06p 18 07p 19 08p 20 09p 21 10p 22 11p 23   # This LAST line must be ADDED at the END of THE CURRENT file 
</code></pre>
<p dir="auto">The <strong>A</strong> S/R, above, would give :</p>
<pre><code class="language-diff">00:00
00:04
01:07
03:17
05:23
07:31
09:43
11:57
12:00
14:04
16:15
18:22
20:33
22:45
23:59
.....
.....
.....
.....
.....
.....
.....
12a 00 01a 01 02a 02 03a 03 04a 04 05a 05 06a 06 07a 07 08a 08 09a 09 10a 10 11a 11 12p 12 01p 13 02p 14 03p 15 04p 16 05p 17 06p 18 07p 19 08p 20 09p 21 10p 22 11p 23   # This LAST line must be ADDED at the END of THE CURRENT file 
</code></pre>
<p dir="auto">If, against this <strong>resulting</strong> text, we run the <strong>B</strong> S/R, above, we obtain, this time :</p>
<pre><code class="language-diff">12:00 am
12:04 am
01:07 am
03:17 am
05:23 am
07:31 am
09:43 am
11:57 am
12:00 pm
02:04 pm
04:15 pm
06:22 pm
08:33 pm
10:45 pm
11:59 pm
.....
.....
.....
.....
.....
.....
.....
12a 00 01a 01 02a 02 03a 03 04a 04 05a 05 06a 06 07a 07 08a 08 09a 09 10a 10 11a 11 12p 12 01p 13 02p 14 03p 15 04p 16 05p 17 06p 18 07p 19 08p 20 09p 21 10p 22 11p 23   # This LAST line must be ADDED at the END of THE CURRENT file

</code></pre>
<p dir="auto">And, finally, if we consider the <strong>initial</strong> text :</p>
<pre><code class="language-diff">00:00
00:04
01:07
03:17
05:23
07:31
09:43
11:57
12:00
14:04
16:15
18:22
20:33
22:45
23:59
.....
.....
.....
.....
.....
.....
.....
12a 00 01a 01 02a 02 03a 03 04a 04 05a 05 06a 06 07a 07 08a 08 09a 09 10a 10 11a 11 12p 12 01p 13 02p 14 03p 15 04p 16 05p 17 06p 18 07p 19 08p 20 09p 21 10p 22 11p 23   # This LAST line must be ADDED at the END of THE CURRENT file 
</code></pre>
<p dir="auto">The <strong>C</strong> S/R would produce, the text below :</p>
<pre><code class="language-diff">12:00 am
12:04 am
1:07 am
3:17 am
5:23 am
7:31 am
9:43 am
11:57 am
12:00 pm
2:04 pm
4:15 pm
6:22 pm
8:33 pm
10:45 pm
11:59 pm
.....
.....
.....
.....
.....
.....
.....
12a 00 01a 01 02a 02 03a 03 04a 04 05a 05 06a 06 07a 07 08a 08 09a 09 10a 10 11a 11 12p 12 01p 13 02p 14 03p 15 04p 16 05p 17 06p 18 07p 19 08p 20 09p 21 10p 22 11p 23   # This LAST line must be ADDED at the END of THE CURRENT file 
</code></pre>
<p dir="auto">Of course, just get rid of the <strong>last</strong> line, <strong>temporarily</strong> added, once <strong>all</strong> the replacements are done !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>P.S.</strong> :</p>
<p dir="auto">The <strong>drawback</strong> of my method is the necessity to <strong>add</strong> the line, with all the <strong>couples</strong> <strong><code>12-Hour</code></strong> &lt;–&gt; <strong><code>24-Hour</code></strong>, at the <strong>end</strong> of current file. However, you may combine the <strong><code>3</code></strong> <strong>successive</strong> S/R, below, in a <strong>single</strong> macro :</p>
<ul>
<li>First, the following S/R, add the <strong>conversion table</strong> at the <strong>very end</strong> of the file</li>
</ul>
<p dir="auto">SEARCH  <strong><code>\z</code></strong></p>
<p dir="auto">REPLACE  <strong><code>\r\n12a 00 01a 01 02a 02 03a 03 04a 04 05a 05 06a 06 07a 07 08a 08 09a 09 10a 10 11a 11 12p 12 01p 13 02p 14 03p 15 04p 16 05p 17 06p 18 07p 19 08p 20 09p 21 10p 22 11p 23</code></strong></p>
<ul>
<li>
<p dir="auto">Secondly, either, the <strong><code>A</code></strong>, <strong><code>B</code></strong> or <strong><code>C</code></strong> <strong>S/R</strong> performs the desired <strong>hour-format</strong> conversion</p>
</li>
<li>
<p dir="auto">Finally, the following S/R, just get rid of the <strong>conversion table</strong>, at <strong>end</strong> of file :</p>
</li>
</ul>
<p dir="auto">SEARCH  <strong><code>(?-s).+\Z</code></strong></p>
<p dir="auto">REPLACE  <strong><code>Leave EMPTY</code></strong></p>
<hr />
<p dir="auto">For instance, in the <strong><code>Macros</code></strong> section of your <strong>active</strong> <strong><code>shortcuts.xml</code></strong> file, the <strong>initial</strong> demand of <a class="plugin-mentions-user plugin-mentions-a" href="/user/dawn-juchum" aria-label="Profile: dawn-juchum">@<bdi>dawn-juchum</bdi></a>, the macro, named <strong>24to12</strong>, could be <strong>stored</strong> as :</p>
<pre><code class="language-xml">        &lt;Macro name="24to12" Ctrl="no" Alt="no" Shift="no" Key="0"&gt;
            &lt;Action type="3" message="1700" wParam="0" lParam="0" sParam="" /&gt;

            &lt;Action type="3" message="1601" wParam="0" lParam="0" sParam="\z" /&gt;
            &lt;Action type="3" message="1625" wParam="0" lParam="2" sParam="" /&gt;
            &lt;Action type="3" message="1602" wParam="0" lParam="0" sParam="\r\n12a 00 01a 01 02a 02 03a 03 04a 04 05a 05 06a 06 07a 07 08a 08 09a 09 10a 10 11a 11 12p 12 01p 13 02p 14 03p 15 04p 16 05p 17 06p 18 07p 19 08p 20 09p 21 10p 22 11p 23" /&gt;
            &lt;Action type="3" message="1702" wParam="0" lParam="768" sParam="" /&gt;
            &lt;Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /&gt;

            &lt;Action type="3" message="1601" wParam="0" lParam="0" sParam="(?si)\b([0-1][0-9]|2[0-3])(:[0-5][0-9])(?!\x20?[ap]m)(?=.+(?-s)^.*(?:(0)|1)(\d)(a|p)\x20\1.*\Z)" /&gt;
            &lt;Action type="3" message="1625" wParam="0" lParam="2" sParam="" /&gt;
            &lt;Action type="3" message="1602" wParam="0" lParam="0" sParam="(?{3}:1)\4\2\x20\5m" /&gt;
            &lt;Action type="3" message="1702" wParam="0" lParam="768" sParam="" /&gt;
            &lt;Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /&gt;

            &lt;Action type="3" message="1601" wParam="0" lParam="0" sParam="(?-s).+\Z" /&gt;
            &lt;Action type="3" message="1625" wParam="0" lParam="2" sParam="" /&gt;
            &lt;Action type="3" message="1602" wParam="0" lParam="0" sParam="" /&gt;
            &lt;Action type="3" message="1702" wParam="0" lParam="768" sParam="" /&gt;
            &lt;Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /&gt;
        &lt;/Macro&gt;
</code></pre>
<p dir="auto">Now, I just realize that adding the <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> or <a class="plugin-mentions-user plugin-mentions-a" href="/user/meta-chuh" aria-label="Profile: meta-chuh">@<bdi>meta-chuh</bdi></a> <strong>single</strong> regexes, though <strong>longer</strong>, were as <strong>simple</strong> as my <strong>3 consecutive</strong> S/R :-(</p>
<p dir="auto">Anyway, do as you like and consider that it just was an <strong>exercise</strong> to “strengthen” my brain ;-))</p>
]]></description><link>https://community.notepad-plus-plus.org/post/38017</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/38017</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Fri, 17 May 2019 20:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Thu, 03 Jan 2019 08:31:23 GMT]]></title><description><![CDATA[<p dir="auto">and thanks again <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> for the idea of using macros for regex replaces.</p>
<p dir="auto">i’ve tried it out and played around, creating some of my favourite regex replaces even twice, one macro where i hit replace once, and another where i hit replace all, and it all works like a charm … it’s magic ;-) 👍</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37962</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37962</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Thu, 03 Jan 2019 08:31:23 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Thu, 03 Jan 2019 01:08:50 GMT]]></title><description><![CDATA[<p dir="auto">Amazing! Well done and thank you!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37953</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37953</guid><dc:creator><![CDATA[Dawn Juchum]]></dc:creator><pubDate>Thu, 03 Jan 2019 01:08:50 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Wed, 02 Jan 2019 18:45:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/meta-chuh" aria-label="Profile: Meta-Chuh">@<bdi>Meta-Chuh</bdi></a> said:</p>
<blockquote>
<p dir="auto">ability to create replace macros which contain both search and replace strings and a custom title which can be selected via a dropdown menu</p>
</blockquote>
<p dir="auto">You already have this capability.  Start macro recording.  Do one of the above replacements. Stop macro recording.  Name macro appropriately.  Done. :)</p>
<blockquote>
<p dir="auto">btw2: i bet <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> can strip this regex down to only a few characters</p>
</blockquote>
<p dir="auto">I’m sure it can be shortened somewhat (they always can be!) but most of this one can’t.  If regex could do math, then yes, but since regex can’t do math one has to live with the long length.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37932</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37932</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 02 Jan 2019 18:45:59 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Wed, 02 Jan 2019 17:48:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a></p>
<p dir="auto">nice 👍</p>
<p dir="auto"><strong>NOW all this leads to a new notepad++ feature request</strong>:<br />
ability to create replace macros which contain both search and replace strings and a custom title which can be selected via a dropdown menu, eg 12h to 24h, etc.<br />
i want to have this feature thanks to you ;-)</p>
<p dir="auto">btw: i’ve added (?!am|pm) for the military to 12 conversion, to avoid conversion of an already converted 12h am/pm string if one presses replace or replace all again.</p>
<p dir="auto">find what:<br />
<code>(?:(00)|(01)|(02)|(03)|(04)|(05)|(06)|(07)|(08)|(09)|(10)|(11)|(12)|(13)|(14)|(15)|(16)|(17)|(18)|(19)|(20)|(21)|(22)|(23))(:[0-5][0-9])(?!am|pm)</code></p>
<p dir="auto">replace with:<br />
<code>(?{1}12$25a)(?{2}1$25a)(?{3}2$25a)(?{4}3$25a)(?{5}4$25a)(?{6}5$25a)(?{7}6$25a)(?{8}7$25a)(?{9}8$25a)(?{10}9$25a)(?{11}10$25a)(?{12}11$25a)(?{13}12$25p)(?{14}1$25p)(?{15}2$25p)(?{16}3$25p)(?{17}4$25p)(?{18}5$25p)(?{19}6$25p)(?{20}7$25p)(?{21}8$25p)(?{22}9$25p)(?{23}10$25p)(?{24}11$25p)m</code></p>
<p dir="auto">btw2: i bet <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> can strip this regex down to only a few characters :D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37930</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37930</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Wed, 02 Jan 2019 17:48:37 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Wed, 02 Jan 2019 14:18:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/meta-chuh" aria-label="Profile: Meta-Chuh">@<bdi>Meta-Chuh</bdi></a> said:</p>
<blockquote>
<p dir="auto">holy copy pasty … but it does work like magic ;-) i like 👍</p>
</blockquote>
<p dir="auto">Since you liked that, I thought I’d have some more fun and do the inverse: am/pm to military</p>
<p dir="auto">find what: <code>(?:(1)|(2)|(3)|(4)|(5)|(6)|(7)|(8)|(9)|(10)|(11)|(12))(:[0-5][0-9])(?:(a)|(p))m</code><br />
replace with: <code>(?{12}(?{15}12:00))(?{1}(?{15}13:01))(?{2}(?{15}14:02))(?{3}(?{15}15:03))(?{4}(?{15}16:04))(?{5}(?{15}17:05))(?{6}(?{15}18:06))(?{7}(?{15}19:07))(?{8}(?{15}20:08))(?{9}(?{15}21:09))(?{10}(?{15}22:10))(?{11}(?{15}23:11))$13</code></p>
<p dir="auto">Of course, there might be a debate about leading zeros (or not) for single-digit hours. The OP didn’t give an example of that. But that kind of thing is an easy adjustment</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37921</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37921</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 02 Jan 2019 14:18:14 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Wed, 02 Jan 2019 03:26:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dawn-juchum" aria-label="Profile: Dawn-Juchum">@<bdi>Dawn-Juchum</bdi></a><br />
don’t forget to select search mode: regular expression</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a><br />
holy copy pasty … but it does work like magic ;-) i like 👍</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37900</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37900</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Wed, 02 Jan 2019 03:26:07 GMT</pubDate></item><item><title><![CDATA[Reply to Convert 24 hour military time to 12 hour time on Wed, 02 Jan 2019 02:43:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dawn-juchum" aria-label="Profile: Dawn-Juchum">@<bdi>Dawn-Juchum</bdi></a></p>
<p dir="auto">I don’t know about a plugin or macro to do this, but you could do a regular expression replacement.  Here’s how:</p>
<p dir="auto">Press ctrl+h to bring up the Replace window.</p>
<p dir="auto">Put the following in the find what box:</p>
<p dir="auto"><code>(?:(00)|(01)|(02)|(03)|(04)|(05)|(06)|(07)|(08)|(09)|(10)|(11)|(12)|(13)|(14)|(15)|(16)|(17)|(18)|(19)|(20)|(21)|(22)|(23))(:[0-5][0-9])</code></p>
<p dir="auto">Put the following in the replace with box:</p>
<p dir="auto"><code>(?{1}12$25a)(?{2}1$25a)(?{3}2$25a)(?{4}3$25a)(?{5}4$25a)(?{6}5$25a)(?{7}6$25a)(?{8}7$25a)(?{9}8$25a)(?{10}9$25a)(?{11}10$25a)(?{12}11$25a)(?{13}12$25p)(?{14}1$25p)(?{15}2$25p)(?{16}3$25p)(?{17}4$25p)(?{18}5$25p)(?{19}6$25p)(?{20}7$25p)(?{21}8$25p)(?{22}9$25p)(?{23}10$25p)(?{24}11$25p)m</code></p>
<p dir="auto">Press the Replace button or the ReplaceAll button.</p>
<p dir="auto">Like Holiday Magic…it works.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37898</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37898</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 02 Jan 2019 02:43:02 GMT</pubDate></item></channel></rss>