<?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[Extract email please]]></title><description><![CDATA[<p dir="auto">I have text file with 1000 lines. I wanted to extract those emails example:</p>
<p dir="auto"><a href="mailto:Clauhoff@googlemail.com" rel="nofollow ugc">Clauhoff@googlemail.com</a>:Po675e9979;gsgsgs@gmail:7373739,vscsx45@hot.com:hdbxscv<br />
Cocris@gmail.com:123qw,bxcsdrt@google.com:93edfhj;ncbdvrte@chamail.mx:23edfg<br />
<a href="mailto:Cons@gmail.com" rel="nofollow ugc">Cons@gmail.com</a>:qweqwe;bxadser@google.com:65edfhj,ncvcbdfte@chamail.mx:85yrtfg<br />
<a href="mailto:DJM4@gmail.com" rel="nofollow ugc">DJM4@gmail.com</a>:marakkakaka —“last_name”: “Dharmani”<br />
<a href="mailto:Da89@gmail.com" rel="nofollow ugc">Da89@gmail.com</a>:qwsgshs  “uid”: 14429319<br />
<a href="mailto:Deney3536@gmail.com" rel="nofollow ugc">Deney3536@gmail.com</a>:al4rtey @asnbncbnabsnm</p>
<p dir="auto">to</p>
<p dir="auto"><a href="mailto:Clauhoff@googlemail.com" rel="nofollow ugc">Clauhoff@googlemail.com</a>:Po675e9979<br />
Cocris@gmail.com:123qw<br />
<a href="mailto:Cons@gmail.com" rel="nofollow ugc">Cons@gmail.com</a>:qweqwe<br />
<a href="mailto:DJM4@gmail.com" rel="nofollow ugc">DJM4@gmail.com</a>:marakkakaka<br />
<a href="mailto:Da89@gmail.com" rel="nofollow ugc">Da89@gmail.com</a>:qwsgshs<br />
<a href="mailto:Deney3536@gmail.com" rel="nofollow ugc">Deney3536@gmail.com</a>:al4rtey</p>
<p dir="auto">please I need your help, eternally grateful</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17516/extract-email-please</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 02:57:14 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17516.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Apr 2019 02:21:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Extract email please on Fri, 26 Apr 2019 04:50:27 GMT]]></title><description><![CDATA[<p dir="auto">eternally thank you my friend</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42628</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42628</guid><dc:creator><![CDATA[rovitie]]></dc:creator><pubDate>Fri, 26 Apr 2019 04:50:27 GMT</pubDate></item><item><title><![CDATA[Reply to Extract email please on Fri, 26 Apr 2019 03:02:03 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">wanted to extract</p>
</blockquote>
<p dir="auto">I see from your small number of examples that there appears to be a number of different delimiters, namely <code>;,</code> and <code>space</code> character. My regular expression has catered for these, however if there are others you will need to add them. I will show you where.</p>
<p dir="auto">So the Replace function is used<br />
Find What:<code>(?-s)^(.+?:[^;, ]+).+</code><br />
Replace with:<code>\1</code></p>
<p dir="auto">This is a regular expression so the search mode is ‘regular expression’. You can click once on the ‘replace all’ once setup and it will work on the entire file.</p>
<p dir="auto">By way of explanation:<br />
<code>(?-s)</code> means we only operate on 1 line at a time.<br />
The first <code>^</code> refers to the start of the line.<br />
Everything inside of the <code>()</code> is what we keep and <code>\1</code> in Find What refers to that.<br />
<code>.+?:</code> means take as few characters as possible up to the first <code>:</code> character and together with the <code>[]</code> contents means we capture exactly what’s needed.<br />
<code>[^;, ]+</code> means capture characters so long as we <code>don't</code> encounter one of the following, <code>;,</code> or <code>space</code>. So if you have any further delimiters you need to place them inside of the <code>[]</code>.<br />
The final <code>.+</code> captures the rest of the line and since it’s not inside the `() it is lost/deleted.</p>
<p dir="auto">So for me it worked exactly as you requested on the examples provided. So it’s only as good as the data you provided. Any deviation or exceptions in your data will likely cause a bad result.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42626</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42626</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Fri, 26 Apr 2019 03:02:03 GMT</pubDate></item></channel></rss>