<?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[Q: How to duplicate text with adding line between two certain words?]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I’am starter and I don’t have a lot experience.</p>
<p dir="auto">I have text file in this pattern:</p>
<p dir="auto">&lt;span style=“color:darkblue”&gt;some thing&lt;/span&gt; some words</p>
<p dir="auto">&lt;span style=“color:darkblue”&gt;some thing else&lt;/span&gt; another some words</p>
<p dir="auto">&lt;span style=“color:darkblue”&gt;some thing 1&lt;/span&gt;another some words 1</p>
<p dir="auto">what I want to do:<br />
Duplcating the word between &lt;span style=“color:darkblue”&gt; and &lt;/span&gt;<br />
then put it between &lt;span class=“bold”&gt; and  &lt;/span&gt;<br />
then  put the duplicated result in the upper line</p>
<p dir="auto">&lt;span class=“bold”&gt;some thing&lt;/span&gt;<br />
&lt;span style=“color:darkblue”&gt;some thing&lt;/span&gt; some words</p>
<p dir="auto">&lt;span class=“bold”&gt;some thing else&lt;/span&gt;<br />
&lt;span style=“color:darkblue”&gt;some thing else&lt;/span&gt; another some words</p>
<p dir="auto">&lt;span class=“bold”&gt;some thing 1&lt;/span&gt;<br />
&lt;span style=“color:darkblue”&gt;some thing 1&lt;/span&gt;another some words 1</p>
<p dir="auto">That seems a little difficult<br />
Is that possible?</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17146/q-how-to-duplicate-text-with-adding-line-between-two-certain-words</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 18:19:21 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17146.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Feb 2019 11:33:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Q: How to duplicate text with adding line between two certain words? on Tue, 19 Feb 2019 16:40:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a>  Thanks for help<br />
It works now,<br />
I have made a mistake</p>
]]></description><link>https://community.notepad-plus-plus.org/post/40050</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/40050</guid><dc:creator><![CDATA[Ziad Aborami]]></dc:creator><pubDate>Tue, 19 Feb 2019 16:40:20 GMT</pubDate></item><item><title><![CDATA[Reply to Q: How to duplicate text with adding line between two certain words? on Tue, 19 Feb 2019 16:28:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ziad-aborami" aria-label="Profile: Ziad-Aborami">@<bdi>Ziad-Aborami</bdi></a></p>
<p dir="auto">not for me - I get the result like expected.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/40049</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/40049</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 19 Feb 2019 16:28:31 GMT</pubDate></item><item><title><![CDATA[Reply to Q: How to duplicate text with adding line between two certain words? on Tue, 19 Feb 2019 15:08:18 GMT]]></title><description><![CDATA[<p dir="auto">&lt;span class=“bold”&gt;$1&lt;/span&gt;\r\n$0<br />
that puts the result in the buttom line like this</p>
<p dir="auto">&lt;span style=“color:darkblue”&gt;some thing&lt;/span&gt; some words<br />
&lt;span class=“bold”&gt;some thing&lt;/span&gt;</p>
<p dir="auto">What I need is like this</p>
<p dir="auto">&lt;span class=“bold”&gt;some thing&lt;/span&gt;<br />
&lt;span style=“color:darkblue”&gt;some thing&lt;/span&gt; some words</p>
]]></description><link>https://community.notepad-plus-plus.org/post/40042</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/40042</guid><dc:creator><![CDATA[Ziad Aborami]]></dc:creator><pubDate>Tue, 19 Feb 2019 15:08:18 GMT</pubDate></item><item><title><![CDATA[Reply to Q: How to duplicate text with adding line between two certain words? on Tue, 19 Feb 2019 13:06:26 GMT]]></title><description><![CDATA[<p dir="auto">welcome to the notepad++ community, <a class="plugin-mentions-user plugin-mentions-a" href="/user/informagenie" aria-label="Profile: informagenie">@<bdi>informagenie</bdi></a></p>
<blockquote>
<p dir="auto">What you want, You can do that easly with combinaison of ctrl+c and ctrl+v<br />
I don’t know what do you mean by duplicate…</p>
</blockquote>
<p dir="auto">please do not respond to a thread, if you are not ready to give a valid or useful answer.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/40038</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/40038</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Tue, 19 Feb 2019 13:06:26 GMT</pubDate></item><item><title><![CDATA[Reply to Q: How to duplicate text with adding line between two certain words? on Tue, 19 Feb 2019 12:40:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> Thanks very much!</p>
<p dir="auto">That works for me  :)</p>
<p dir="auto">best wisches</p>
]]></description><link>https://community.notepad-plus-plus.org/post/40036</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/40036</guid><dc:creator><![CDATA[Ziad Aborami]]></dc:creator><pubDate>Tue, 19 Feb 2019 12:40:07 GMT</pubDate></item><item><title><![CDATA[Reply to Q: How to duplicate text with adding line between two certain words? on Tue, 19 Feb 2019 12:19:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ziad-aborami" aria-label="Profile: Ziad-Aborami">@<bdi>Ziad-Aborami</bdi></a></p>
<p dir="auto">select regular expression mode in find/replace dialog.<br />
find what should be <code>&lt;span style="color:darkblue"&gt;(.+?)&lt;/span&gt;</code><br />
and replace with would be <code>&lt;span class="bold"&gt;$1&lt;/span&gt;\r\n$0</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/40035</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/40035</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 19 Feb 2019 12:19:34 GMT</pubDate></item><item><title><![CDATA[Reply to Q: How to duplicate text with adding line between two certain words? on Tue, 19 Feb 2019 12:18:00 GMT]]></title><description><![CDATA[<p dir="auto">What you want, You can do that easly with combinaison of ctrl+c and ctrl+v</p>
<p dir="auto">I don’t know what do you mean by duplicate…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/40034</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/40034</guid><dc:creator><![CDATA[informagenie]]></dc:creator><pubDate>Tue, 19 Feb 2019 12:18:00 GMT</pubDate></item></channel></rss>