<?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[Editing a list/ Moving words]]></title><description><![CDATA[<p dir="auto">I want to edit a long Notepad++ list containing Video Recording details in order that it transfers correctly into a worksheet.</p>
<p dir="auto">The document may contain 1000’s of random video titles but an example might be:</p>
<p dir="auto">0:44<br />
Video Name A<br />
Subtitles<br />
11:32<br />
Video Name B<br />
Subtitles<br />
10:03<br />
Video Name C<br />
0:36<br />
Video Name D<br />
1:26:58<br />
Video Name E<br />
Subtitles<br />
10:27<br />
Video Name F<br />
etc etc</p>
<p dir="auto">In the above example:<br />
Video A is 0:44 in length and does have Subtitles.<br />
Video B is 11:32 in length and does have Subtitles.<br />
Video C is 10:03 in length and has NO Subtitles.<br />
Video D is 0:36 in length and has NO Subtitles.<br />
Video E is 1:26:58 in length and does have Subtitles.<br />
Video F is 10:27 in length and has no Subtitles.</p>
<p dir="auto">I would like the above list to be edited to read:</p>
<p dir="auto">0:44<br />
Video Name A (Subtitles)<br />
11:32<br />
Video Name B (Subtitles)<br />
10:03<br />
Video Name C<br />
0:36<br />
Video Name D<br />
1:26:58<br />
Video Name E (Subtitles)<br />
10:27<br />
Video Name F<br />
etc etc</p>
<p dir="auto">Any help would be appreciated thanks.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21872/editing-a-list-moving-words</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 01:23:36 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21872.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Sep 2021 09:01:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Editing a list/ Moving words on Tue, 28 Sep 2021 06:57:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/neil-schipper" aria-label="Profile: Neil-Schipper">@<bdi>Neil-Schipper</bdi></a><br />
Thanks for your info on Macros in this kind of situation, I’ve heard of them but have not used them previously.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/70087</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/70087</guid><dc:creator><![CDATA[Mathew888]]></dc:creator><pubDate>Tue, 28 Sep 2021 06:57:21 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Tue, 28 Sep 2021 01:02:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a> The folks helping you have deep knowledge of regex (which is a kind of programming language) and are very generous with their time.</p>
<p dir="auto">Learning the basics of regex and what it can do may serve you very well down the road (not least because you will be in a position to look up complex features).</p>
<p dir="auto">Nonetheless, this problem is also solved with np++ macros and no use of regex S&amp;R. I achieved (what I take to be) your desired output:</p>
<pre><code>Video Name A (Subtitles)	0:44
Video Name B (Subtitles)	11:32
Video Name C	10:03
Video Name D	0:36
Video Name E (Subtitles)	1:26:58
Video Name F	10:27
</code></pre>
<p dir="auto">with 2 rounds of applying macros I recorded.</p>
<p dir="auto">To prepare:</p>
<ol>
<li>In Preferences, Language, Tab Settings, normal (careful, choose what applies to you), ensure ‘Replace by space’ is not checked</li>
<li>In find window, set Search mode = extended, search text = \nSubtitles; do at least one search. (Satisfy yourself that ‘Find’ does what you hope.) Caret to start of file.</li>
</ol>
<p dir="auto">First macro finds “Subtitles” at the start of a line (F3), and then does familiar editing to get the text on the prior line and add parenthesis.</p>
<p dir="auto">After checking (maybe on a small file with a handful of entries) can save the macro and run it “Multiple times”. The very last instance might muck the last entry up, fix with Ctl-z.</p>
<p dir="auto">Second macro does simple editing: cut text of video duration, delete line, navigate to end of the current line (name, maybe with subtitle), insert tab, paste duration, cursor to start of next entry.</p>
<p dir="auto">Run macro on the whole file, again maybe fix up last entry.</p>
<p dir="auto">It can be fun developing and checking macros; there’s much less reference material to plow through. You may need to fuss about various settings before you run it (and change back afterwards to what you prefer in normal editing), and, where you leave the cursor before you stop recording.</p>
<p dir="auto">Regex’s is a much deeper topic than macros, but the latter can solve lots of problems, and in a more intuitive way.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/70077</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/70077</guid><dc:creator><![CDATA[Neil Schipper]]></dc:creator><pubDate>Tue, 28 Sep 2021 01:02:49 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Sat, 25 Sep 2021 10:54:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a></p>
<p dir="auto">Combining it all into one larger and more complicated expression is only really necessary if you have a need to do it over and over again.  If it is just a one-time need, don’t worry about making it “efficient”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/70011</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/70011</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 25 Sep 2021 10:54:30 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Sat, 25 Sep 2021 07:44:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/astrosofista" aria-label="Profile: astrosofista">@<bdi>astrosofista</bdi></a><br />
Thank you for this, I’ll give it a go.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/70008</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/70008</guid><dc:creator><![CDATA[Mathew888]]></dc:creator><pubDate>Sat, 25 Sep 2021 07:44:43 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Fri, 24 Sep 2021 21:51:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a> said in <a href="/post/69992">Editing a list/ Moving words</a>:</p>
<blockquote>
<p dir="auto">…I need to transfer this data into two columns within an Excel worksheet.</p>
</blockquote>
<p dir="auto">You might not be aware of this, but if all you need to do is import the example data from your first post into Excel, you can edit it in a single step, as follows:</p>
<pre><code class="language-z">Search: ^(\d+:\d+(?::\d+)?)\R(.+)\R(Subtitles)?\R?
Replace: $2(?3 \($3\))\t$1\r\n
</code></pre>
<p dir="auto">Of course, it’s a more complex expression, but doable. Look for details and insights <a href="https://npp-user-manual.org/docs/searching/#regular-expressions" rel="nofollow ugc">in the docs</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/70006</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/70006</guid><dc:creator><![CDATA[astrosofista]]></dc:creator><pubDate>Fri, 24 Sep 2021 21:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Fri, 24 Sep 2021 13:37:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a> said in <a href="/post/69996">Editing a list/ Moving words</a>:</p>
<blockquote>
<p dir="auto">I’ve just figured out that if I change your last to:<br />
find: (?-s)^(.+)\R(.+)<br />
repl: ${2}\t${1}<br />
it places the Video Length Column before the Video Name Column and that is now perfect.</p>
</blockquote>
<p dir="auto">Sorry, I didn’t really notice what ordering you wanted the columns in.<br />
But your ability to see the pattern in how the regular expression is working, and adapt it to your need is a key step.<br />
Sadly, a lot of other askers in the past were not able to make that leap.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69999</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69999</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 24 Sep 2021 13:37:43 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Fri, 24 Sep 2021 13:04:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a> ,</p>
<p dir="auto">The best way to learn regex is to practice.  Play around with data and the regexes you see posted here, and see what happens when you change either the regex or the data, and see how the matching changes; a tool like Notepad++'s <strong>Find &gt; Mark</strong> is great for such experimentation, because it will immediately show you where the matches are, rather than making you cycle through a bunch of Find Next buttons.</p>
<p dir="auto">Our <a href="/category/7/faq">FAQ section</a> has an entry on <a href="https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regular-expressions-regex-documentation">regex resources</a>, which is a good starting place for learning regex.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69998</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69998</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 24 Sep 2021 13:04:44 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Fri, 24 Sep 2021 12:54:24 GMT]]></title><description><![CDATA[<p dir="auto">Sorry I meant to say it places the Video Name Column before the Video Length Column and that is now perfect.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69997</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69997</guid><dc:creator><![CDATA[Mathew888]]></dc:creator><pubDate>Fri, 24 Sep 2021 12:54:24 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Fri, 24 Sep 2021 12:46:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a><br />
Thank you, I take on board what you’re saying.</p>
<p dir="auto">I was keen to know how the methods were working because I am trying to learn.<br />
It’s just that it’s genuinely a whole new language to me.<br />
I don’t know if there’s a Youtube channel suitable for beginners or something like that.</p>
<p dir="auto">I’ve just figured out that if I change your last to:<br />
find: (?-s)^(.+)\R(.+)<br />
repl: ${2}\t${1}</p>
<p dir="auto">it places the Video Length Column before the Video Name Column and that is now perfect.</p>
<p dir="auto">Once again thank you for your help!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69996</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69996</guid><dc:creator><![CDATA[Mathew888]]></dc:creator><pubDate>Fri, 24 Sep 2021 12:46:10 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Fri, 24 Sep 2021 11:42:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a></p>
<blockquote>
<p dir="auto">I may be going about this completely the wrong way.</p>
</blockquote>
<p dir="auto">You’re (probably) thinking the correct way.</p>
<blockquote>
<p dir="auto">Could I ask another question regarding this please.</p>
</blockquote>
<p dir="auto">Yes, but… I’ll warn you that you can’t keep asking infinite questions here about data formatting (although 2 hardly qualifies as infinite).</p>
<p dir="auto">You’ll soon be told to read the documentation and figure out how to do your own transformations.  Or to show us what you tried and what didn’t work.</p>
<p dir="auto">This is simply because this is a discussion site about Notepad++, and data transformation really isn’t a Notepad++ topic.</p>
<p dir="auto">And because we’ve had trouble in the past with people that don’t want to learn, don’t want to think for themselves, and just want others to provide all of their data transformation needs.</p>
<p dir="auto">But for now, another freebie:</p>
<p dir="auto">find: <code>(?-s)^(.+)\R(.+)</code><br />
repl: <code>${1}\t${2}</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/69993</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69993</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 24 Sep 2021 11:42:25 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Fri, 24 Sep 2021 10:21:31 GMT]]></title><description><![CDATA[<p dir="auto">Could I ask another question regarding this please.</p>
<p dir="auto">Now that we have the data sorted like this:<br />
0:44<br />
Video Name A (Subtitles)<br />
11:32<br />
Video Name B (Subtitles)<br />
10:03<br />
Video Name C<br />
0:36<br />
Video Name D<br />
1:26:58<br />
Video Name E (Subtitles)<br />
10:27<br />
Video Name F</p>
<p dir="auto">…I need to transfer this data into two columns within an Excel worksheet.</p>
<p dir="auto">I am currently using the following process in Excel to import the date from the Notepad++ document:<br />
Data (From Text/CSV)/ Import Data i.e. the relevant Notepad++ document/ Select ‘Tab Delimiter’ - N.B. this creates a single row of data/ Transform Data / Remove Alternate Rows<br />
‘Remove Alternate Rows’ sorts the data into one column at a time i.e. firstly the ‘Video Name’ column (this can then be imported separately) but I then have to repeat the process for the other data column i.e. the ‘Video Length’ column.</p>
<p dir="auto">In Notepad++, to make this process easier, is there a way to prepare the document so that it could be more easily imported by Excel, so that the Video Name and Video Length data would be separated into the two necessary columns and imported in a single action.</p>
<p dir="auto">For example could Notepad++ insert the ‘Tab’ in the correct places in order that the Tab Delimiter in Excel would work? If so how would this be achieved please?</p>
<p dir="auto">I have little experience with either program and I accept that I may be going about this completely the wrong way.</p>
<p dir="auto">I would be grateful for any advice/ alternatives offered.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69992</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69992</guid><dc:creator><![CDATA[Mathew888]]></dc:creator><pubDate>Fri, 24 Sep 2021 10:21:31 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 20:40:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/69978">Editing a list/ Moving words</a>:</p>
<blockquote>
<p dir="auto">I think you meant I just don’t use ${nn}, not as advice to others not to use it.</p>
</blockquote>
<p dir="auto">You got what I really meant, but unfortunately that sense got lost in translation. To put it clearly, it is just my personal preference, for the reasons given, and is not intended to be advice for other users.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69984</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69984</guid><dc:creator><![CDATA[astrosofista]]></dc:creator><pubDate>Thu, 23 Sep 2021 20:40:18 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 20:05:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/astrosofista" aria-label="Profile: astrosofista">@<bdi>astrosofista</bdi></a> said in <a href="/post/69977">Editing a list/ Moving words</a>:</p>
<blockquote>
<p dir="auto">TL;DR Just don’t use ${nn}.</p>
</blockquote>
<p dir="auto">I think you meant <code>I just don't use ${nn}</code>, not as advice to others not to use it.</p>
<p dir="auto">It is good advice here on the forum to give to others to use, because they can’t get into trouble with it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69978</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69978</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 23 Sep 2021 20:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 19:47:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a></p>
<p dir="auto">Yes, I noticed it after I posted my first response to OP, too late to remove it. The <code>+</code> symbol doesn’t hurt, but it is unnecessary given the provided example data. Anyway, and on the bright side, I took the opportunity to explain its meaning.</p>
<p dir="auto">Regarding your second comment, I got used to that symbol, probably because it is the same used in AutoHotkey and since it has no other meanings like <code>\</code>. If I remember correctly, very few times I had to use the expression ${nn} and none recently. Nowadays, I prefer to script or split the expression into successive steps, instead of writing a very complex or long regex, since I noticed the process is faster and the code is easier to maintain.<br />
TL;DR Just don’t use ${nn}.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69977</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69977</guid><dc:creator><![CDATA[astrosofista]]></dc:creator><pubDate>Thu, 23 Sep 2021 19:47:50 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 17:26:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a></p>
<p dir="auto">Well…I don’t have an alternative method, because I think <a class="plugin-mentions-user plugin-mentions-a" href="/user/astrosofista" aria-label="Profile: astrosofista">@<bdi>astrosofista</bdi></a> covered it fine.  I was just pointing out some minor things.</p>
<p dir="auto">The use of <code>\R+</code> would match this type of data, which you didn’t indicate is needed:</p>
<pre><code>0:44
Video Name A






Subtitles
11:32
Video Name B


Subtitles
10:03
Video Name C
0:36
Video Name D
1:26:58
Video Name E
Subtitles
</code></pre>
<p dir="auto">My point about <code>$1</code> was that it perhaps is better specified as <code>${1}</code> because maybe there is a situation (not yours) where there is a <code>0</code> following.  In that case <code>$10</code> might not work, but <code>${1}0</code> would work.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69972</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69972</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 23 Sep 2021 17:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 16:50:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a><br />
Would you be kind enough to provide your alternative in full please?<br />
Method 1 works well but I’m just interested to see if I notice any difference with your method.<br />
Hopefully I may understand this a little better in the future.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69970</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69970</guid><dc:creator><![CDATA[Mathew888]]></dc:creator><pubDate>Thu, 23 Sep 2021 16:50:39 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 14:32:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/astrosofista" aria-label="Profile: astrosofista">@<bdi>astrosofista</bdi></a></p>
<p dir="auto">Just a couple of comments:</p>
<ul>
<li>
<p dir="auto">I’m not sure why you’d use <code>\R+</code> here, instead of <code>\R</code>.  OP didn’t say anything about blank lines.</p>
</li>
<li>
<p dir="auto">I like your use of <code>$1</code> instead of everyone’s favorite of <code>\1</code> – however, I like the more verbose <code>${1}</code> because if people get trained to write it that way (yes, it is TWO more keystrokes) then when the need for more than 9 groups arise, everything still works.  BTW, <code>\1</code> is “okay” but it sometimes generates questions because <code>\</code> is an escape character.</p>
</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/69961</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69961</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 23 Sep 2021 14:32:48 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 14:22:40 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for all your help!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69960</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69960</guid><dc:creator><![CDATA[Mathew888]]></dc:creator><pubDate>Thu, 23 Sep 2021 14:22:40 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 14:11:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a> said in <a href="/post/69948">Editing a list/ Moving words</a>:</p>
<blockquote>
<p dir="auto">would you mind explaining how the coded instructions are achieving the result please, in other words the steps it is taking?</p>
</blockquote>
<p dir="auto">Sure, here is my attempt. If something is not clear enough, try to read the docs, as <a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: ekopalypse">@<bdi>ekopalypse</bdi></a> suggested you.</p>
<p dir="auto"><em>In the searching field:</em> <code>\R+(Subtitles)</code></p>
<p dir="auto"><code>\R</code>   represents one or more carriage returns <code>\r</code> or line feed <code>\n</code>.<br />
<code>+</code>    indicates that there could be one or more CR/LF.<br />
<code>()</code>   symbols for capturing groups, which will be stored in a predefined variable $n, where n is for any integer.</p>
<p dir="auto"><em>In replacement:</em> <code>\x20\($1\)</code></p>
<p dir="auto"><code>\x20</code>  represents a space character. This symbol is used because chances are that a traditional space could be unintentionally missed in a copy/paste operation.<br />
<code>\(\)</code>  since parentheses are reserved symbols, they should be escaped with a backslash <code>\</code> to get their usual meaning.<br />
<code>$1</code>    represents the first captured group, in this case the string <code>Subtitles</code>.</p>
<p dir="auto">Take care</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69958</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69958</guid><dc:creator><![CDATA[astrosofista]]></dc:creator><pubDate>Thu, 23 Sep 2021 14:11:47 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 13:00:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a></p>
<p dir="auto"><a href="https://npp-user-manual.org/docs/searching/#regular-expressions" rel="nofollow ugc">here</a> you can find the Npp documentation about regular expression syntax. Have fun :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69949</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69949</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Thu, 23 Sep 2021 13:00:33 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 12:57:50 GMT]]></title><description><![CDATA[<p dir="auto">Brilliant! Your instructions work perfectly as intended. Thank you.<br />
As I’m quite new to Notepad++ and know very little about the code you have described would you mind explaining how the coded instructions are achieving the result please, in other words the steps it is taking?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69948</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69948</guid><dc:creator><![CDATA[Mathew888]]></dc:creator><pubDate>Thu, 23 Sep 2021 12:57:50 GMT</pubDate></item><item><title><![CDATA[Reply to Editing a list/ Moving words on Thu, 23 Sep 2021 11:32:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mathew888" aria-label="Profile: Mathew888">@<bdi>Mathew888</bdi></a></p>
<p dir="auto">It’s a simple task for RegEx. Open the <code>Replace</code> dialog (<code>Ctrl + H</code>) and type:</p>
<pre><code class="language-z">Search: \R+(Subtitles)
Replace: \x20\($1\)
</code></pre>
<p dir="auto">Put the caret at the very beginning of the document, select the <code>Regular Expression mode</code> and click on <code>Replace</code> or <code>Replace All</code>.</p>
<p dir="auto">Hope this helps.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/69943</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/69943</guid><dc:creator><![CDATA[astrosofista]]></dc:creator><pubDate>Thu, 23 Sep 2021 11:32:39 GMT</pubDate></item></channel></rss>