<?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[How to delete this on notepad?]]></title><description><![CDATA[<p dir="auto">g.e.n.t.l.e.k.s.dd@gmail.com:444<br />
t.wo…1122334.455.6.6@gmail.com:333<br />
thrifty.wife@yahoo.com:222<br />
cut.3fac.3@yahoo.com:111</p>
<p dir="auto">I want to delete every line containing more then 3 dats on email, how to do it?</p>
<p dir="auto">So this 2 are good</p>
<p dir="auto">thrifty.wife@yahoo.com:222<br />
cut.3fac.3@yahoo.com:111</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22161/how-to-delete-this-on-notepad</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 02:12:10 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22161.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Nov 2021 18:49:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to delete this on notepad? on Fri, 19 Nov 2021 20:23:48 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><br />
Thank u Alan for help and your time :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71450</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71450</guid><dc:creator><![CDATA[Marcin Tomczak]]></dc:creator><pubDate>Fri, 19 Nov 2021 20:23:48 GMT</pubDate></item><item><title><![CDATA[Reply to How to delete this on notepad? on Fri, 19 Nov 2021 19:52:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcin-tomczak" aria-label="Profile: marcin-tomczak">@<bdi>marcin-tomczak</bdi></a> ,</p>
<p dir="auto">First, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> was the one who gave you the expression, not I.  He deserves credit.</p>
<p dir="auto">And I say credit, not blame, because his expression works on the address you just shared.</p>
<pre><code>g.e.n.t.l.e.k.s.dd@gmail.com:444
t.wo…1122334.455.6.6@gmail.com:333
thrifty.wife@yahoo.com:222
cut.3fac.3@yahoo.com:111
b.et.2012.bs.@gmail.com:111
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1637351481944-c5271ee8-2b26-4124-8036-c58e804c670b-image.png" alt="c5271ee8-2b26-4124-8036-c58e804c670b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If your expression is not matching that last address, then you have not correctly used Alan’s expression.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71448</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71448</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 19 Nov 2021 19:52:13 GMT</pubDate></item><item><title><![CDATA[Reply to How to delete this on notepad? on Fri, 19 Nov 2021 19:32:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a><br />
I tried this what u gave me, one mail was deleted but for an example this still survive</p>
<p dir="auto"><a href="http://b.eth.2012.bs" rel="nofollow ugc">b.eth.2012.bs</a>.@gmail.com:111</p>
<p dir="auto">Here we got 4 dats in email and he’s not deleted.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71446</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71446</guid><dc:creator><![CDATA[Marcin Tomczak]]></dc:creator><pubDate>Fri, 19 Nov 2021 19:32:11 GMT</pubDate></item><item><title><![CDATA[Reply to How to delete this on notepad? on Fri, 19 Nov 2021 19:56:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcin-tomczak" aria-label="Profile: Marcin-Tomczak">@<bdi>Marcin-Tomczak</bdi></a> ,</p>
<p dir="auto">Alan’s second answer should give the results you requested.</p>
<p dir="auto">But remember, “be careful what you ask for”:  Specifically in this case, be wary of trying to differentiate between spam email and valid email addresses based on number of dots.</p>
<ul>
<li><code>first.mi.last.modifier@gmail.com</code> is valid; there are a lot of “peter jones”-es on gmail, and many of us use middle initials and/or some other modifier after the last name, breaking your “delete if more than three dots” rule</li>
<li><code>first.mi.last@alumni.collegename.edu</code> is valid: many colleges give alumni addresses on a subdomain</li>
</ul>
<p dir="auto">Anyone who is trying to solve spam by using regex will fail – both by not keeping out enough and by rejecting valid addresses.  So if that’s what you’re doing, you might want to go a different direction.,</p>
<p dir="auto">-—<br />
<em><strong>edit</strong>: my examples weren’t right, because re-reading the original post, it looks like you only want to match usernames (before the @ sign) that have more than 3 dots… which is different than I interpreted it (more than three dots anywhere in the email address, before or after the @).  I am still leaving the post without deleting it because of conversational context, and because the general warning of my post – don’t expect regex to be able to filter out ‘fake’ email addresses – is still valid.</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/71443</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71443</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 19 Nov 2021 19:56:07 GMT</pubDate></item><item><title><![CDATA[Reply to How to delete this on notepad? on Fri, 19 Nov 2021 19:28:41 GMT]]></title><description><![CDATA[<p dir="auto">Actually, you said:</p>
<blockquote>
<p dir="auto">delete every line containing more then 3 dats</p>
</blockquote>
<p dir="auto">But I gave a solution (above) for “3 or more” dots.</p>
<p dir="auto">Here’s the semi-obvious slight adjustment to do “more than 3”:</p>
<p dir="auto"><code>(?-s)^.*?(\..*?){4}@.*\R</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/71442</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71442</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 19 Nov 2021 19:28:41 GMT</pubDate></item><item><title><![CDATA[Reply to How to delete this on notepad? on Fri, 19 Nov 2021 19:19:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcin-tomczak" aria-label="Profile: marcin-tomczak">@<bdi>marcin-tomczak</bdi></a></p>
<p dir="auto">Seems like this would match the lines you don’t want.  If you can match them you can delete them by replacing with nothing.</p>
<p dir="auto"><code>(?-s)^.*?(\..*?){3}@.*\R</code></p>
<p dir="auto">Use regular expression search mode.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71441</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71441</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 19 Nov 2021 19:19:38 GMT</pubDate></item></channel></rss>