<?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 separate specific text with notepad?]]></title><description><![CDATA[<p dir="auto">I need your help, I am trying to separate in a text of 200000 lines like this:</p>
<p dir="auto">literature:18:trouble<br />
history:10:medicine<br />
algebra:09:nature</p>
<p dir="auto">First I want to separate it like this:<br />
literature:trouble<br />
history:medicine<br />
algebra:nature</p>
<p dir="auto">And then to:</p>
<p dir="auto">18:trouble<br />
10:medicine<br />
09:nature</p>
<p dir="auto">Somebody help me</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16271/how-to-separate-specific-text-with-notepad</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 12:19:20 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16271.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Sep 2018 02:13:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to separate specific text with notepad? on Thu, 06 Sep 2018 03:38:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> said:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a></p>
</blockquote>
<p dir="auto">I am very grateful for your help friends (guy038, terry), they are the maximum<br />
thank you teachers</p>
<p dir="auto">they work perfectly</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34660</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34660</guid><dc:creator><![CDATA[yuly pmem]]></dc:creator><pubDate>Thu, 06 Sep 2018 03:38:02 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Thu, 06 Sep 2018 10:14:50 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/yuly-pmem" aria-label="Profile: yuly-pmem">@<bdi>yuly-pmem</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/ani-rodet" aria-label="Profile: ani-rodet">@<bdi>ani-rodet</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Ah OK ! So, here are, below, <strong>all</strong> the regexes to achieve the <strong>suppression</strong> of <strong><code>1</code></strong> or <strong><code>2</code></strong> columns, from an original <strong><code>3</code>-columns</strong> table, separated with <strong>colons</strong> ( <strong><code>:</code></strong> )</p>
<p dir="auto">Let’s imagine the initial <strong><code>3</code>-columns</strong> table, below :</p>
<pre><code class="language-diff">cell A1:cell B1:cell C1
cell A2:cell B2:cell C2
cell A3:cell B3:cell C3
</code></pre>
<p dir="auto">Then :</p>
<ul>
<li>With the regex S/R :</li>
</ul>
<p dir="auto">SEARCH <strong><code>:[^:\r\n]+$</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto">Only <strong>columns</strong> <strong><code>A</code></strong> and <strong><code>B</code></strong> remain :</p>
<pre><code class="language-diff">cell A1:cell B1
cell A2:cell B2
cell A3:cell B3
</code></pre>
<ul>
<li>With the regex S/R</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?-s):.+(?=:)</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto">Only <strong>columns</strong> <strong><code>A</code></strong> and <strong><code>C</code></strong> remain :</p>
<pre><code class="language-diff">cell A1:cell C1
cell A2:cell C2
cell A3:cell C3
</code></pre>
<ul>
<li>With the regex S/R :</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?-s)^.+?:(?=.+:)</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto">Only <strong>columns</strong> <strong><code>B</code></strong> and <strong><code>C</code></strong> remain :</p>
<pre><code class="language-diff">cell B1:cell C1
cell B2:cell C2
cell B3:cell C3
</code></pre>
<ul>
<li>With the regex S/R :</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?-s):.+$</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto">Only <strong>column</strong> <strong><code>A</code></strong> remains :</p>
<pre><code class="language-diff">cell A1
cell A2
cell A3
</code></pre>
<ul>
<li>With the regex S/R :</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?-s).+:(.+):.+</code></strong></p>
<p dir="auto">REPLACE <strong><code>\1</code></strong></p>
<p dir="auto">Only <strong>column</strong> <strong><code>B</code></strong> remains :</p>
<pre><code class="language-diff">cell B1
cell B2
cell B3
</code></pre>
<ul>
<li>With the regex S/R :</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?-s)^.+:</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto">Only <strong>column</strong> <strong><code>C</code></strong> remains :</p>
<pre><code class="language-diff">cell C1
cell C2
cell C3
</code></pre>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34658</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34658</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Thu, 06 Sep 2018 10:14:50 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Thu, 06 Sep 2018 00:57:01 GMT]]></title><description><![CDATA[<p dir="auto">From your last example it would appear that your data can be described as:<br />
<em><strong>string#1</strong></em> then a <em><strong>:</strong></em> (colon) then <em><strong>string#2</strong></em> then a <em><strong>:</strong></em> (colon) then <em><strong>string#3</strong></em><br />
And furthermore <em><strong>string#2</strong></em> may be some digits.<br />
And you would like it to be<br />
<em><strong>string#1:string#3</strong></em><br />
and<br />
<em><strong>string#2:string#3</strong></em><br />
If the <em><strong>:</strong></em> is the delimiter then it should be easy enough to provide you a regex to change the data.</p>
<p dir="auto">First off, as <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> says, copy the entire file to another tab in Notepad++. So you should have 2 identical copies of the file (make sure the 2nd copy has a different file name as they need to be saved as different files).Add a blank line at the bottom of both files, so last line.</p>
<p dir="auto">In the 1st tab use the following regex to alter the text<br />
Find what: <code>^(.+?):.+?(:.+?\R)</code><br />
Replace with: <code>\1\2</code><br />
search mode is “regular expression” and “wrap around” ticked.<br />
Once this is run you can remove the last blank line and save this file.</p>
<p dir="auto">In the 2nd tab (so this is the copy of the original file) use the regex:<br />
Find what: <code>^.+?:(.+?:.+?\R)</code><br />
Replace with : <code>empty field here</code> &lt;— this means nothing in this field!<br />
search mode is “regular expression” and “wrap around” ticked.<br />
Once this is run you can remove the last blank line and save this file. Make sure this is a different file name, otherwise you will overwrite the results from the first regex.</p>
<p dir="auto">I hope this helps. My solution does rest on my description being accurate. If it is not then you need to provide it similar to how I did.</p>
<p dir="auto">Terry</p>
<p dir="auto">PS as you have found out, your original example wasn’t good enough for us to help you properly. My description, had you included that at the start would have provided the extra information needed to supply you with a good solution.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34655</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34655</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Thu, 06 Sep 2018 00:57:01 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 23:17:58 GMT]]></title><description><![CDATA[<p dir="auto">friend terry, if he works when there are numbers (literature: 18: trouble<br />
history: 10: medicine), but in some lines there are only letters like this<br />
history: text: ready<br />
medicine: small: student<br />
thanks anyway friend for wanting to help me.<br />
I will continue looking for the solution<br />
attentively yuli</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34653</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34653</guid><dc:creator><![CDATA[yuly pmem]]></dc:creator><pubDate>Wed, 05 Sep 2018 23:17:58 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 21:13:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yuly-pmem" aria-label="Profile: yuly-pmem">@<bdi>yuly-pmem</bdi></a>  are you able to tell us how you got on with the supplied regex’s? Have you tried any and if so what were the results.</p>
<p dir="auto">In order for us to help further we would need to know what you have tried, what didn’t work and also some more examples if a particular regex did NOT work as expected.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> had a good idea. By copying the data, so you have 2 copies, you can create the individual groups you want independently. That also means once you have altered the text, it will still be in the same order as it started with. My idea would possibly have changed the order and that may not be what you wanted.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34650</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34650</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 21:13:30 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 21:02:50 GMT]]></title><description><![CDATA[<p dir="auto">I dont know</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34647</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34647</guid><dc:creator><![CDATA[yuly pmem]]></dc:creator><pubDate>Wed, 05 Sep 2018 21:02:50 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 16:29:02 GMT]]></title><description><![CDATA[<p dir="auto">friends guy038 and Terry the R: \ d + is for digits range 0-9, but if the case were like that</p>
<p dir="auto">freddy: <a href="mailto:letters@sout.com" rel="nofollow ugc">letters@sout.com</a>: darkkk12<br />
how would the method to separate them, with the previous method does not work</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34637</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34637</guid><dc:creator><![CDATA[ani rodet]]></dc:creator><pubDate>Wed, 05 Sep 2018 16:29:02 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 16:28:14 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/yuly-pmem" aria-label="Profile: yuly-pmem">@<bdi>yuly-pmem</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">I didn’t <strong>fully</strong> read <strong>all</strong> the posts, yet, but, personally, I would use the following method :</p>
<ul>
<li>
<p dir="auto">Do <strong><code>2</code></strong> copies of your <strong>200000-lines</strong> text</p>
</li>
<li>
<p dir="auto">Open the <strong>first</strong> copy in N++</p>
</li>
<li>
<p dir="auto">Open the <strong>Replace</strong> dialog ( <strong><code>Ctrl + H</code></strong> )</p>
</li>
</ul>
<p dir="auto">SEARCH <strong><code>:\d+</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<ul>
<li>
<p dir="auto">Select the <strong><code>Regular expression</code></strong> search mode</p>
</li>
<li>
<p dir="auto">Tick the <strong><code>Wrap around</code></strong> option</p>
</li>
<li>
<p dir="auto">Click on the <strong><code>Replace All</code></strong> button</p>
</li>
</ul>
<p dir="auto">You should get the <strong>expected</strong> text :</p>
<pre><code class="language-diff">literature:trouble
history:medicine
algebra:nature
</code></pre>
<ul>
<li>Open the <strong>second</strong> copy, in N++</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?-s)^.+?:(?=\d+)</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto">This time, you should get the following text :</p>
<pre><code class="language-diff">18:trouble
10:medicine
09:nature
</code></pre>
<p dir="auto">Note that I use a <strong>look-ahead</strong> structure, <strong><code>(?=\d+)</code></strong>, just in case your text contains <strong>other</strong> lines ( as, for instance, <strong>Section 1:</strong> or <strong>Example 2:</strong> ) with a <strong><code>:</code></strong> symbol, <strong>not</strong> followed with <strong>digits</strong> !</p>
<p dir="auto">Best Regards</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34626</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34626</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 05 Sep 2018 16:28:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 06:10:18 GMT]]></title><description><![CDATA[<p dir="auto">Possibly the remainder of the lines do not fit the regex. Are the numbers 3 digits or more, my regex will only select 2 digit numbers as that’s what your example showed.</p>
<p dir="auto">Where it says d{2}, change the 2 to 3. If numbers exceed 3 digits then change 2 to 2,4. You may even need to increase further the 4 to say 8, depending on the range of numbers you have.<br />
Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34615</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34615</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 06:10:18 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 05:03:21 GMT]]></title><description><![CDATA[<p dir="auto">I have about 2000 lines and I have marked regular mode expression and “Replace All” button, but it does not work</p>
<p dir="auto">Note: replace with: \ 1 \ 2 \ 4 \ 5 \ 3 \ 2 \ 4 \ 5, is it only for 5 lines?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34614</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34614</guid><dc:creator><![CDATA[yuly pmem]]></dc:creator><pubDate>Wed, 05 Sep 2018 05:03:21 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 04:59:38 GMT]]></title><description><![CDATA[<p dir="auto">You use search mode regular expression and hit the “Replace All” button. It should change the entire file. Have wrap around ticked as well.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34613</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34613</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 04:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 04:42:13 GMT]]></title><description><![CDATA[<p dir="auto">thank you friend for attending, I work well but for the 5 lines, but for 2000 or n lines?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34612</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34612</guid><dc:creator><![CDATA[yuly pmem]]></dc:creator><pubDate>Wed, 05 Sep 2018 04:42:13 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 04:18:58 GMT]]></title><description><![CDATA[<p dir="auto">What say I start again as I may have confused you with lots of options.</p>
<p dir="auto">Try the following on your original file.<br />
Find what: <code>^(?i)([a-z]+?)(:)(\d{2}):([a-z]+?)(\R)</code><br />
replace with: <code>\1\2\4\5\3\2\4\5</code></p>
<p dir="auto">Once this is done you use the sort function to group the 2 different line types apart. So Edit, Line Operations, Sort lines lexicographically descending.</p>
<p dir="auto">See what that produces for you. If you are happy then just copy the 2nd group elsewhere (another file).</p>
<p dir="auto">If the result is NOT what you wanted let us know and maybe someone can give you a different regex to achieve it.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34610</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34610</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 04:18:58 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 04:14:38 GMT]]></title><description><![CDATA[<p dir="auto">friend I found a regex for the first group I managed to separate with (:. *? :), now I would only miss the second part, know some regular expression</p>
<p dir="auto">literature:18:trouble<br />
history:10:medicine<br />
algebra:09:nature</p>
<p dir="auto">to</p>
<p dir="auto">18:trouble<br />
10:medicine<br />
09:nature</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34609</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34609</guid><dc:creator><![CDATA[yuly pmem]]></dc:creator><pubDate>Wed, 05 Sep 2018 04:14:38 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 04:08:16 GMT]]></title><description><![CDATA[<p dir="auto">Actually reading through the examples I seemed to have overlooked the example staying the same order. I think that was only luck as we used a reverse sort and the first group were already in that mode.</p>
<p dir="auto">If however the sort changed the order to, say<br />
algebra<br />
history<br />
literature</p>
<p dir="auto">does that concern you?</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34608</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34608</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 04:08:16 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 04:03:27 GMT]]></title><description><![CDATA[<p dir="auto">It is possible not to use the 91919 sequence, but as I wasn’t sure of the data typing I wanted something that was very unlikely to be elsewhere in your data to differentiate the 2nd part of each line as I made it.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34607</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34607</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 04:03:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 04:01:32 GMT]]></title><description><![CDATA[<p dir="auto">I understand that the second group of lines already have a number at the start but in order to actually separate them from the first group of lines a sort would be needed. That’s going to change the order.</p>
<p dir="auto">So in effect you would have:<br />
algebra:nature<br />
history:medicine<br />
literature:trouble</p>
<p dir="auto">followed by the 2nd group which have the numbers at the start.</p>
<p dir="auto">My idea is as follows:<br />
the regex to transform 1 line into 2 lines is:<br />
Find what: <code>^(?i)([a-z]+?)(:)(\d{2}):([a-z]+?)(\R)</code><br />
replace with: <code>\1\2\4\591919 \3\2\4\5</code></p>
<p dir="auto">So this would create (using your example):<br />
literature:trouble<br />
91919 18:trouble<br />
history:medicine<br />
91919 10:medicine<br />
algebra:nature<br />
91919 09:nature</p>
<p dir="auto">So now you would use the sort lines option, Edit, Line Operations, Sort lines lexicographically descending.</p>
<p dir="auto">This produces:<br />
literature:trouble<br />
history:medicine<br />
algebra:nature<br />
91919 18:trouble<br />
91919 10:medicine<br />
91919 09:nature</p>
<p dir="auto">Then another regex to remove the numbers.<br />
Find what: <code>^91919\h</code><br />
Replace with: <code>empty field here</code></p>
<p dir="auto">So you’d finish up with:<br />
literature:trouble<br />
history:medicine<br />
algebra:nature<br />
18:trouble<br />
10:medicine<br />
09:nature</p>
<p dir="auto">As you can see it hasn’t affected the order of the numbered group, but it has changed the order of the first grouping.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34606</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34606</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 04:01:32 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 03:51:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yuly-pmem" aria-label="Profile: yuly-pmem">@<bdi>yuly-pmem</bdi></a> said:</p>
<blockquote>
<p dir="auto">18:trouble<br />
10:medicine<br />
09:nature</p>
</blockquote>
<p dir="auto">friend excuse me but I do not understand, there are some codes to separate them (regular expression):<br />
Find-what box:<br />
Replace-with box:<br />
Search mode: ☑ Regular expression<br />
I separate copy and paste in another file<br />
First file<br />
literature: trouble<br />
history: medicine<br />
algebra: nature<br />
Second file<br />
18: trouble<br />
10: medicine<br />
09: nature</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34605</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34605</guid><dc:creator><![CDATA[yuly pmem]]></dc:creator><pubDate>Wed, 05 Sep 2018 03:51:17 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 02:52:01 GMT]]></title><description><![CDATA[<p dir="auto">So if separated, do you care if the  “first bits” or the “second bits” remain in the sequence they started with. If not then that would make it very simple.</p>
<p dir="auto">I’m thinking that the regex would add a number to the start of every second line (like 999999) and once all lines were divided, you’d sort the lines. That would put each of the groups in separate areas of the file.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34603</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34603</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 02:52:01 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 02:35:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: Terry-R">@<bdi>Terry-R</bdi></a> said:</p>
<blockquote>
<p dir="auto">Both are possible with a regular expression (regex), one however is going to require more steps. I can see it maybe requiring 3 regex’s to achieve if the answer to my question is true</p>
</blockquote>
<p dir="auto">Thanks for answering, friend I need to separate them, then I’ll copy them in two different files. they are not necessarily the same code</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34602</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34602</guid><dc:creator><![CDATA[yuly pmem]]></dc:creator><pubDate>Wed, 05 Sep 2018 02:35:06 GMT</pubDate></item><item><title><![CDATA[Reply to How to separate specific text with notepad? on Wed, 05 Sep 2018 02:29:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yuly-pmem" aria-label="Profile: yuly-pmem">@<bdi>yuly-pmem</bdi></a><br />
A question on what you want to achieve. From the example it would seem that once the text has been divided, you want all the first bits one after the other (line after line) in the file, then possibly a blank line followed by all the 2nd bits of each line, again one after the other (line after line). Is this correct?</p>
<p dir="auto">Otherwise I wonder if you mean<br />
literature:trouble<br />
18:trouble<br />
history:medicine<br />
10:medicine</p>
<p dir="auto">Both are possible with a regular expression (regex), one however is going to require more steps. I can see it maybe requiring 3 regex’s to achieve if the answer to my question is true.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34601</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34601</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 02:29:07 GMT</pubDate></item></channel></rss>