<?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 extract a certain text from lines with notepad?]]></title><description><![CDATA[<p dir="auto">How are you friends ?, I hope that well, I hope you can help me I have a txt with 12678 lines and I need to separate<br />
the email with your address, the lines are like this<br />
email:addresss<br />
<a href="mailto:fami67@makil.com" rel="nofollow ugc">fami67@makil.com</a>:avstree568 — -phonenumber   455678  number<br />
<a href="mailto:johon@yahoo.com" rel="nofollow ugc">johon@yahoo.com</a>:bernu34     4567ytru <a href="http://www" rel="nofollow ugc">http://www</a>.<br />
<a href="mailto:hasmnin@hotmail.com" rel="nofollow ugc">hasmnin@hotmail.com</a>:californiaUD direction   <a href="http://www" rel="nofollow ugc">http://www</a>. 5903<br />
.<br />
.<br />
.<br />
.</p>
<p dir="auto"><strong>The result I need is:</strong></p>
<p dir="auto"><a href="mailto:fami67@makil.com" rel="nofollow ugc">fami67@makil.com</a>:avstree568<br />
<a href="mailto:johon@yahoo.com" rel="nofollow ugc">johon@yahoo.com</a>:bernu34<br />
<a href="mailto:hasmnin@hotmail.com" rel="nofollow ugc">hasmnin@hotmail.com</a>:californiaUD</p>
<p dir="auto">I await your prompt reply<br />
Thank you</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16441/how-to-extract-a-certain-text-from-lines-with-notepad</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Nov 2026 06:01:47 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16441.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Oct 2018 02:45:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to extract a certain text from lines with notepad? on Tue, 09 Oct 2018 12:10:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ani-rodet" aria-label="Profile: ani-rodet">@<bdi>ani-rodet</bdi></a></p>
<p dir="auto">This post looks very similar to <a href="https://notepad-plus-plus.org/community/topic/16363/remove-lines-that-meet-a-requirement-using-notepad" rel="nofollow ugc">this thread</a> created by you.  I think that if you post again with such questions, you should also show us WHAT YOU TRIED ON YOUR OWN before you posted.  Otherwise it simply seems like the people supporting this Community are just doing your work for you (instead of giving you hints/help) and you should pay them for that help.</p>
<p dir="auto">And “I await your prompt reply” in such a context…is offensive.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35350</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35350</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Tue, 09 Oct 2018 12:10:58 GMT</pubDate></item><item><title><![CDATA[Reply to How to extract a certain text from lines with notepad? on Tue, 09 Oct 2018 11:30:39 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/ani-rodet" aria-label="Profile: ani-rodet">@<bdi>ani-rodet</bdi></a>,</p>
<p dir="auto">Please, before trying to " <strong>think regex</strong> ", anyone should get into the <strong>habit</strong> of expressing its problem, in <strong>natural</strong> language, first, taking into account <strong>all</strong> its <strong>data</strong> ;-))</p>
<p dir="auto">In your case, you want to :  <em><strong>delete</strong> the <strong>ending</strong> part of each line, <strong>beginning</strong> with the <strong>first space</strong> character of that line</em></p>
<p dir="auto">Then, the regex <strong>equivalent</strong> is quite <strong>easy</strong> to find out !</p>
<p dir="auto">SEARCH <strong><code>(?-s)\h.+</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">As usual, the <strong><code>(?-s)</code></strong> <strong>modifier</strong> means that the <strong>dot</strong> <strong><code>.</code></strong> will match a <strong>single standard</strong> character, only ( <strong>not</strong> EOL ones )</p>
</li>
<li>
<p dir="auto">Then, <strong><code>\h</code></strong> matches <strong>any horizontal blank</strong> character ( the <strong>space</strong> char <strong><code>\x{0020}</code></strong>, the <strong>tabulation</strong> char ( <strong><code>\x{0009}</code></strong> and the <strong>no-break space</strong> character <strong><code>\x{00a0}</code></strong> )</p>
</li>
<li>
<p dir="auto">The final part <strong><code>.+</code></strong> matches any <strong>non-null</strong> range of <strong>standard</strong> characters, after the <strong>horizontal blank</strong> char, till the <strong>end</strong> of each line</p>
</li>
<li>
<p dir="auto">As the data matched have to be <strong>deleted</strong>, the <strong>replacement</strong> zone must stay <strong>empty</strong></p>
</li>
</ul>
<p dir="auto">Best Regards</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35347</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35347</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 09 Oct 2018 11:30:39 GMT</pubDate></item></channel></rss>