<?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[Delete md5 using notepad]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I have a long document. Using notepad++ or regex, I want to delete all lines containing md5</p>
<p dir="auto">bcf5ce4c7e7718060fe3c921d96fefcc:37:ms<br />
192.168.0.1:37:ms:N/A<br />
102ddaf691e1615d5dacd4c86299bfa4:Dead:N/S<br />
perl:pe:out<br />
192.168.0.55:Dead:N/S<br />
sed@@:PATH:file<br />
8371aba8782aead078fa35475c076f68:67:ms</p>
<p dir="auto">How can this be done?<br />
someone who can help me, please?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16547/delete-md5-using-notepad</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 22:09:45 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16547.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Nov 2018 19:23:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Delete md5 using notepad on Fri, 02 Nov 2018 21:41:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rovitie" aria-label="Profile: rovitie">@<bdi>rovitie</bdi></a></p>
<p dir="auto">Certainly no apology of any kind needed.  It is tough to know what you don’t know.  Good that it is working for you.  I guess I was a bit harsh so I certainly apologize for that.  Of course, I’m probably known for being somewhat harsh.  ;-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35991</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35991</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Fri, 02 Nov 2018 21:41:37 GMT</pubDate></item><item><title><![CDATA[Reply to Delete md5 using notepad on Fri, 02 Nov 2018 20:39:13 GMT]]></title><description><![CDATA[<p dir="auto">A thousand apologies, I am not an expert in programming, a simple assistant of a company, excuse me Mr. Scott Sumner and cipher-1024, thanks for the help shown.<br />
guy038, the regex helped me a lot [[: xdigit:]] {32}, thank you very much</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35989</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35989</guid><dc:creator><![CDATA[rovitie]]></dc:creator><pubDate>Fri, 02 Nov 2018 20:39:13 GMT</pubDate></item><item><title><![CDATA[Reply to Delete md5 using notepad on Fri, 02 Nov 2018 19:23:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: scott-sumner">@<bdi>scott-sumner</bdi></a>, and <strong>All</strong>,</p>
<p dir="auto">I was a bit <strong>lazy</strong> to develop any idea, in that topic, as, since <strong>beginning</strong> of day, I was doing <strong>tests</strong> relative to the problem of the <strong><code>Word wrap</code></strong> feature, with <strong>very large</strong> files, discussed here :</p>
<p dir="auto"><a href="https://notepad-plus-plus.org/community/topic/16468/notepad-7-5-9-release/54" rel="nofollow ugc">https://notepad-plus-plus.org/community/topic/16468/notepad-7-5-9-release/54</a></p>
<hr />
<p dir="auto">Now, <strong>Scott</strong>, regarding our problem, I did some <strong>tests</strong> ( again! )</p>
<p dir="auto">I created a <strong><code>.txt</code></strong> file, containing <strong><code>100,000</code></strong> <strong>MD5</strong> strings and here are the results :</p>
<ul>
<li>
<p dir="auto">SEARCH <strong><code>(?i-s)^.*[0-9A-Z]{32}.*\R</code></strong>  REPLACE <strong><code>Leave Empty</code></strong> =&gt; <strong><code>100,000</code></strong> lines <strong>deleted</strong> in <strong><code>45</code></strong> seconds</p>
</li>
<li>
<p dir="auto">SEARCH <strong><code>(?-s)^.*[[:xdigit:]]{32}.*\R</code></strong>  REPLACE <strong><code>Leave Empty</code></strong> =&gt; <strong><code>100,000</code></strong> lines <strong>deleted</strong> in <strong><code>39</code></strong> seconds</p>
</li>
<li>
<p dir="auto">BOOKMARK <strong><code>[[:xdigit:]]{32}</code></strong> + <strong><code>Remove Bookmarked Lines</code></strong> =&gt; <strong><code>100,000</code></strong> lines <strong>deleted</strong> in <strong><code>32</code></strong> seconds ( 7s + 25s )</p>
</li>
</ul>
<p dir="auto"><strong>Interesting</strong>, isn’t it ?</p>
<p dir="auto">This means that :</p>
<ul>
<li>
<p dir="auto">With a <strong>very large</strong> files and/or with <strong>numerous</strong> zones to <strong>delete</strong>, the combination of the <strong>Marking String</strong> and the <strong>Delete Bookmarked</strong> features is the <strong>best</strong> choice ;-))</p>
</li>
<li>
<p dir="auto">The <strong><code>[[:xdigit:]]</code></strong> regex syntax seems a bit <strong>faster</strong> than the <strong><code>(?i)[0-9A-Z]</code></strong> syntax</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35971</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35971</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Fri, 02 Nov 2018 19:23:34 GMT</pubDate></item><item><title><![CDATA[Reply to Delete md5 using notepad on Fri, 02 Nov 2018 15:32:02 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">So sad that nothing was said about getting the problem statement right in the first place…  :(</p>
<p dir="auto">I guess I don’t understand the utility of <code>[:xdigit:]</code> here when (a) it is tough to remember, and (b) <code>[a-f0-9]</code> is shorter.  Is “xdigit” supposed to be faster for the regex engine to process?  Okay, so I’m ignoring case here, but the OP’s examples were all in lowercase–but maybe we can’t trust the OP… :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35969</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35969</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Fri, 02 Nov 2018 15:32:02 GMT</pubDate></item><item><title><![CDATA[Reply to Delete md5 using notepad on Fri, 02 Nov 2018 19:22:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/rovitie" aria-label="Profile: rovitie">@<bdi>rovitie</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: scott-sumner">@<bdi>scott-sumner</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/cipher-1024" aria-label="Profile: cipher-1024">@<bdi>cipher-1024</bdi></a> and <strong>All</strong>,</p>
<p dir="auto"><strong>Two</strong> other solutions :</p>
<ul>
<li>
<p dir="auto"><strong><code>Search &gt; Replace...</code></strong> option</p>
</li>
<li>
<p dir="auto">SEARCH <strong><code>(?-s)^.*[[:xdigit:]]{32}.*\R</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
</li>
</ul>
<p dir="auto">OR</p>
<ul>
<li>
<p dir="auto"><strong><code>Search &gt; Mark...</code></strong> option</p>
</li>
<li>
<p dir="auto">Tick the <strong><code>Bookmark line</code></strong> option</p>
</li>
<li>
<p dir="auto">SEARCH <strong><code>[[:xdigit:]]{32}</code></strong></p>
</li>
<li>
<p dir="auto"><strong><code>Search &gt; Bookmark &gt; Remove Bookmark Lines</code></strong></p>
</li>
</ul>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35968</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35968</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Fri, 02 Nov 2018 19:22:41 GMT</pubDate></item><item><title><![CDATA[Reply to Delete md5 using notepad on Fri, 02 Nov 2018 12:02:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rovitie" aria-label="Profile: rovitie">@<bdi>rovitie</bdi></a></p>
<p dir="auto">The moral of the (sad) story is that if you don’t post representative data when you ask for help…or data that shows a pattern but (a) not the right pattern or (b) a misleading pattern…don’t be surprised if the help you receive does not solve your problem. <a class="plugin-mentions-user plugin-mentions-a" href="/user/cipher-1024" aria-label="Profile: cipher-1024">@<bdi>cipher-1024</bdi></a> has the best answer for you, paraphrasing: “read up on regex and solve your own problem”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35956</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35956</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Fri, 02 Nov 2018 12:02:45 GMT</pubDate></item><item><title><![CDATA[Reply to Delete md5 using notepad on Fri, 02 Nov 2018 03:04:43 GMT]]></title><description><![CDATA[<p dir="auto">&lt;<a class="plugin-mentions-user plugin-mentions-a" href="/user/cipher-1024" aria-label="Profile: cipher-1024">@<bdi>cipher-1024</bdi></a> cooks popcorn and prepares for <a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: Scott-Sumner">@<bdi>Scott-Sumner</bdi></a> to respond to the “new” information.&gt;</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rovitie" aria-label="Profile: rovitie">@<bdi>rovitie</bdi></a>, read up on regular expressions when you have time they’re a great tool to have. Also when you post examples, try and post different kinds. Posting some examples of what you tried and how it failed is good too. It shows you’re putting in some effort.</p>
<p dir="auto">Personally I would try<br />
<code>^.*?[a-f0-9]{32}.*?$\R</code><br />
That’s a bit like using a great big hammer (I do love the .* metacharacter combo!), where Scott’s was more like a scalpel, but this may work for you.</p>
<p dir="auto">Good Luck!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35948</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35948</guid><dc:creator><![CDATA[cipher-1024]]></dc:creator><pubDate>Fri, 02 Nov 2018 03:04:43 GMT</pubDate></item><item><title><![CDATA[Reply to Delete md5 using notepad on Fri, 02 Nov 2018 00:43:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rovitie" aria-label="Profile: rovitie">@<bdi>rovitie</bdi></a> said:</p>
<blockquote>
<p dir="auto">regex</p>
</blockquote>
<p dir="auto">thanks you very much, sorry friend, but in some lines:<br />
ftp: a10a057d9aaea35231ca57d8959cc182<br />
test: 53c80014d7714fd6050257050fe4bb7e<br />
ftp: 887a100f39384fdb3d950ba1b55acba2: router<br />
12.0.84.130:197cd7b2019b0d7b867012bca81e1b81:ms<br />
the regex does not work<br />
I hope you help me, thanks you</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35944</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35944</guid><dc:creator><![CDATA[rovitie]]></dc:creator><pubDate>Fri, 02 Nov 2018 00:43:01 GMT</pubDate></item><item><title><![CDATA[Reply to Delete md5 using notepad on Thu, 01 Nov 2018 19:29:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rovitie" aria-label="Profile: rovitie">@<bdi>rovitie</bdi></a></p>
<p dir="auto">Try this:</p>
<p dir="auto">Invoke <strong>Replace</strong> dialog (default key: ctrl+h)</p>
<p dir="auto"><strong>Find what</strong> zone: <code>^[a-f0-9]{32}(?-s):.*\R</code><br />
<strong>Replace with</strong> zone: make sure this is empty<br />
<strong>Search mode</strong> selection: <em>Regular expression</em><br />
Action: Press <strong>Replace All</strong> button</p>
<p dir="auto">Here’s how it works:</p>
<p dir="auto"><code>^[a-f0-9]{32}(?-s):.*\R</code></p>
<ul>
<li>[Assert position at the beginning of a line (at beginning of the string or after a line break character) (carriage return and line feed, form feed)][<em><strong>1</strong></em> ] <code>^</code></li>
<li>[Match a single character present in the list below][<em><strong>2</strong></em> ] <code>[a-f0-9]{32}</code>
<ul>
<li>[Exactly 32 times][<em><strong>3</strong></em> ] <code>{32}</code></li>
<li>[A character in the range between “a” and “f” (case sensitive)][<em><strong>2</strong></em> ] <code>a-f</code></li>
<li>[A character in the range between “0” and “9”][<em><strong>2</strong></em> ] <code>0-9</code></li>
</ul>
</li>
<li>[Use these options for the remainder of the regular expression][<em><strong>4</strong></em> ] <code>(?-s)</code>
<ul>
<li>[(hyphen inverts the meaning of the letters that follow)][<em><strong>4</strong></em> ] <code>-</code></li>
<li>[Dot doesn’t match line breaks][<em><strong>4</strong></em> ] <code>s</code></li>
</ul>
</li>
<li>[Match the colon character][<em><strong>5</strong></em> ] <code>:</code></li>
<li>[Match any single character that is NOT a line break character (line feed, carriage return, form feed)][<em><strong>6</strong></em> ] <code>.*</code>
<ul>
<li>[Between zero and unlimited times, as many times as possible, giving back as needed (greedy)][<em><strong>7</strong></em> ] <code>*</code></li>
</ul>
</li>
<li>[Match a line break (carriage return and line feed pair, sole line feed, sole carriage return, vertical tab, form feed)][<em><strong>8</strong></em> ] <code>\R</code></li>
</ul>
<p dir="auto">Created with <a href="https://www.regexbuddy.com/" rel="nofollow ugc">RegexBuddy</a></p>
<p dir="auto">[<em><strong>1</strong></em> ]: <a href="https://www.regular-expressions.info/anchors.html" rel="nofollow ugc">https://www.regular-expressions.info/anchors.html</a><br />
[<em><strong>2</strong></em> ]: <a href="https://www.regular-expressions.info/charclass.html" rel="nofollow ugc">https://www.regular-expressions.info/charclass.html</a><br />
[<em><strong>3</strong></em> ]: <a href="https://www.regular-expressions.info/repeat.html#limit" rel="nofollow ugc">https://www.regular-expressions.info/repeat.html#limit</a><br />
[<em><strong>4</strong></em> ]: <a href="https://www.regular-expressions.info/modifiers.html" rel="nofollow ugc">https://www.regular-expressions.info/modifiers.html</a><br />
[<em><strong>5</strong></em> ]: <a href="https://www.regular-expressions.info/characters.html" rel="nofollow ugc">https://www.regular-expressions.info/characters.html</a><br />
[<em><strong>6</strong></em> ]: <a href="https://www.regular-expressions.info/dot.html" rel="nofollow ugc">https://www.regular-expressions.info/dot.html</a><br />
[<em><strong>7</strong></em> ]: <a href="https://www.regular-expressions.info/repeat.html" rel="nofollow ugc">https://www.regular-expressions.info/repeat.html</a><br />
[<em><strong>8</strong></em> ]: <a href="https://www.regular-expressions.info/nonprint.html" rel="nofollow ugc">https://www.regular-expressions.info/nonprint.html</a></p>
<p dir="auto">RegexBuddy settings to emulate N++ regex engine: Application=boost::regex 1.54-1.57 / flavor=Default flavor / replacement flavor=All flavor / ^$ match at line breaks / Numbered capture / Allow zero-length matches</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35943</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35943</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Thu, 01 Nov 2018 19:29:01 GMT</pubDate></item></channel></rss>