<?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 address]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I have a huge list of email addresses in this format:</p>
<p dir="auto">name1, surname1 <a href="mailto:surname1.name1@email.com" rel="nofollow ugc">surname1.name1@email.com</a>; name2, surname2 <a href="mailto:surname2.name2@email.com" rel="nofollow ugc">surname2.name2@email.com</a>; …</p>
<p dir="auto">And I want just have the emails listed in one row like this:</p>
<p dir="auto"><a href="mailto:surname1.name1@email.com" rel="nofollow ugc">surname1.name1@email.com</a><br />
<a href="mailto:surname2.name2@email.com" rel="nofollow ugc">surname2.name2@email.com</a><br />
.<br />
.<br />
.<br />
How can I do this?</p>
<p dir="auto">Regards, Ralph</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16152/extract-email-address</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 06:46:58 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16152.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Aug 2018 13:38:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to extract email address on Fri, 10 Aug 2018 18:08:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12764">@Ralph-Ratz</a> ,</p>
<p dir="auto">I’m glad it’s working for you.</p>
<p dir="auto">If you are going to be doing more regular expression manipulation of your text files (including if you ever just want to tweak this regex in order to make some change, like only doing ones that have semicolon’s after the &gt; or something), you are going to want to study regex yourself.</p>
<p dir="auto">We have a FAQ entry which explains <a href="https://notepad-plus-plus.org/community/topic/15765/faq-desk-where-to-find-regex-documentation" rel="nofollow ugc">where to find regex docs</a>, which is a good starting point for learning about them.  I’d recommend searching through some of those, and seeing if you can understand everything in the regex I gave.  After reading the docs, if you’re having trouble understanding a portion of it, feel free to ask, and we can help clarify.</p>
<p dir="auto">If you come back for future requests for regex help: please craft your own expression… and if it doesn’t work, then you can ask us, including: show what you tried, explain why you tried that (ie, what you think the regex should do, and what you think each piece of the regex is doing), and show what results you get that doesn’t match your expectations.  This will help us to help you better.</p>
<p dir="auto">(And the post <a href="https://notepad-plus-plus.org/community/topic/14262/how-to-markdown-code-on-this-forum" rel="nofollow ugc">“How to Markdown code on this Forum”</a> will help you format posts, so the data exactly represents your actual data.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34082</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34082</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 10 Aug 2018 18:08:15 GMT</pubDate></item><item><title><![CDATA[Reply to extract email address on Fri, 10 Aug 2018 17:04:52 GMT]]></title><description><![CDATA[<p dir="auto">this worked perfect!</p>
<p dir="auto">Thank you…<br />
:-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34080</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34080</guid><dc:creator><![CDATA[Ralph Ratz]]></dc:creator><pubDate>Fri, 10 Aug 2018 17:04:52 GMT</pubDate></item><item><title><![CDATA[Reply to extract email address on Fri, 10 Aug 2018 17:04:56 GMT]]></title><description><![CDATA[<p dir="auto">Nobody looks at the <strong>PREVIEW</strong> pane before hitting <strong>Submit</strong> to make sure their data is correct.  Sigh.</p>
<h2>:-(</h2>
<p dir="auto">BTW, changing the data so it displays “correctly” changes the problem!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34079</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34079</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Fri, 10 Aug 2018 17:04:56 GMT</pubDate></item><item><title><![CDATA[Reply to extract email address on Fri, 10 Aug 2018 16:59:16 GMT]]></title><description><![CDATA[<p dir="auto">For future refernce, if you indent the line by 4 spaces in your post (with blank lines before and after), it will show up unformatted here, so the forum won’t mess with it.  Or you could put it between back ticks, like `my &lt;data@here&gt;`, which will render as <code>my &lt;data@here&gt;</code>.</p>
<p dir="auto">So, do you have anything else in this file that needs to stay, or do you really just want everything that is within angle brackets to be put one per line?  For that, I’d use something like:</p>
<ul>
<li>find: <code>(?-s).*?&lt;([^&gt;]*)&gt;</code></li>
<li>replace: <code>$1\r\n</code></li>
<li>regular expression</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/34078</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34078</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 10 Aug 2018 16:59:16 GMT</pubDate></item><item><title><![CDATA[Reply to extract email address on Fri, 10 Aug 2018 16:51:36 GMT]]></title><description><![CDATA[<p dir="auto">it seems the list was not displayed correctly…<br />
The arrow brackets were not shown. Here it is how it looks like (I had to add an space after the @ symbol to get it displayed)</p>
<p dir="auto">name1, surname1 &lt;surname1.name1@ <a href="http://email.com" rel="nofollow ugc">email.com</a>&gt;; name2, surname2 &lt;surname2.name2@ <a href="http://email.com" rel="nofollow ugc">email.com</a>&gt;; …</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34077</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34077</guid><dc:creator><![CDATA[Ralph Ratz]]></dc:creator><pubDate>Fri, 10 Aug 2018 16:51:36 GMT</pubDate></item><item><title><![CDATA[Reply to extract email address on Fri, 10 Aug 2018 13:46:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/12764">@Ralph-Ratz</a></p>
<p dir="auto">Assuming very well-formed data like you show, I’d start by trying:</p>
<p dir="auto"><strong>Find what</strong> zone: <code>(?-s).+?, .+? (.+?); </code> &lt;-----note the trailing space<br />
<strong>Replace with</strong> zone: <code>\1\r\n</code> &lt;------- assumes you want Windows line-endings<br />
<strong>Search mode</strong>: Regular expression</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34076</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34076</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Fri, 10 Aug 2018 13:46:34 GMT</pubDate></item></channel></rss>