<?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[Seperate a format in rows]]></title><description><![CDATA[<p dir="auto">Hello all,<br />
So I have this kind of format of numbers and texts on my notepad++ document and I’d like to separate the  the first part which is the numbers than the second part which is from @ until the ; and the last part from ; and the last and i want them in 3 different notepads? It’s kind of complicated if a lot, thank you if this is possible.</p>
<p dir="auto">123.456.78.0:22000@Name\Name123;name<br />
12.3.456.789:10000@NAME\Name-1;Name2017</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16270/seperate-a-format-in-rows</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 03:40:07 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16270.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Sep 2018 16:58:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Seperate a format in rows on Tue, 04 Sep 2018 23:20:49 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/ph0enix" aria-label="Profile: ph0enix">@<bdi>ph0enix</bdi></a>, <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">if the general <strong>template</strong> of your data is <strong>always</strong>  :</p>
<p dir="auto"><strong><code>........@..........;......</code></strong></p>
<p dir="auto">Here are, below, <strong><code>3</code></strong> other possible <strong>regex</strong> S/R. Similarly to <strong>Scott</strong>’s post, you must <strong>select</strong> the <strong><code>Regular expression</code></strong> search mode, <strong>tick</strong> the <strong><code>Wrap around</code></strong> option and <strong>click</strong> on the <strong><code>Replace All</code></strong> button. Note that the <strong><code>Replace with:</code></strong> zone is always <strong>Empty</strong></p>
<p dir="auto"><strong>First</strong> regex :</p>
<p dir="auto">SEARCH <strong><code>(?-s)@.+</code></strong></p>
<p dir="auto">REPLACE <strong><code>Empty</code></strong></p>
<p dir="auto">Results :</p>
<pre><code class="language-diff">123.456.78.0:22000
12.3.456.789:10000
</code></pre>
<p dir="auto"><strong>Second</strong> regex :</p>
<p dir="auto">SEARCH <strong><code>(?-s).+?@|;.+</code></strong></p>
<p dir="auto">REPLACE <strong><code>Empty</code></strong></p>
<p dir="auto">Results :</p>
<pre><code class="language-diff">Name\Name123
NAME\Name-1
</code></pre>
<p dir="auto"><strong>Third</strong> regex :</p>
<p dir="auto">SEARCH <strong><code>(?-s).+;</code></strong></p>
<p dir="auto">REPLACE <strong><code>Empty</code></strong></p>
<p dir="auto">Results :</p>
<pre><code class="language-diff">name
Name2017
</code></pre>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34594</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34594</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 04 Sep 2018 23:20:49 GMT</pubDate></item><item><title><![CDATA[Reply to Seperate a format in rows on Tue, 04 Sep 2018 17:22:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ph0enix" aria-label="Profile: ph0enix">@<bdi>ph0enix</bdi></a></p>
<p dir="auto">If I were you I’d create 3 new copies of your data in 3 new Notepad++ tabs.</p>
<p dir="auto">Then taking each new tab in turn, do the following:</p>
<h4>Tab #1</h4>
<p dir="auto"><strong>Find what</strong> zone: <code>^([^@]+)@(?-s).+</code><br />
<strong>Replace with</strong> zone: <code>\1</code><br />
<strong>Wrap around</strong> checkbox: <em>ticked</em><br />
Action:  Press <strong>Replace All</strong> button</p>
<p dir="auto">Sample results:</p>
<pre><code class="language-z">123.456.78.0:22000
12.3.456.789:10000
</code></pre>
<h4>Tab #2</h4>
<p dir="auto"><strong>Find what</strong> zone: <code>^[^@]+@([^;]+);(?-s).+</code><br />
<strong>Replace with</strong> zone: <code>\1</code><br />
<strong>Wrap around</strong> checkbox: <em>ticked</em><br />
Action:  Press <strong>Replace All</strong> button</p>
<p dir="auto">Sample results:</p>
<pre><code class="language-z">Name\Name123
NAME\Name-1
</code></pre>
<h4>Tab #3</h4>
<p dir="auto"><strong>Find what</strong> zone: <code>(?-s)^.+?;(.+)$</code><br />
<strong>Replace with</strong> zone: <code>\1</code><br />
<strong>Wrap around</strong> checkbox: <em>ticked</em><br />
Action:  Press <strong>Replace All</strong> button</p>
<p dir="auto">Sample results:</p>
<pre><code class="language-z">name
Name2017
</code></pre>
<p dir="auto">Of course, all this keys upon the <code>@</code> and <code>;</code> occurring in the data where the examples show…and nowhere else.  It will need some changes if this is not always true</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34583</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34583</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Tue, 04 Sep 2018 17:22:03 GMT</pubDate></item></channel></rss>