<?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 do I merge data in different lines in notepad++ whatever is between two different dates?]]></title><description><![CDATA[<p dir="auto">How do I merge data in different lines in notepad++ whatever is between two different dates?</p>
<p dir="auto">Example -<br />
<strong>"<strong>9/23/16, 09:03 - Name A</strong></strong>: aadfajlfdjsalfj fasdfasfjalkfjalj  afjaljflajf asflajfljljieoeijfhoioij jowjroiwcsojcos wjorjoijsoavaosg</p>
<p dir="auto">2742jsogoaj</p>
<p dir="auto"><strong>9/24/16, 12:05 - Name B</strong>: jgaojaegeioie ejgpoapsdfs;<br />
pajavpoapokads</p>
<p dir="auto">askjflkj gkjklgja"</p>
<p dir="auto">=======================================================================================</p>
<p dir="auto">I want to merge data after the “<strong>9/23/16, 09:03 - Name A</strong>:”  **********  till the words mentioned before <strong>9/24/16, 12:05 - Name B</strong>:</p>
<p dir="auto">Dates should be always in a new line only like the below matter.</p>
<p dir="auto"><strong>9/23/16, 09:03 - Name A</strong>: aadfajlfdjsalfj fasdfasfjalkfjalj  afjaljflajf asflajfljljieoeijfhoioij jowjroiwcsojcos wjorjoijsoavaosg 2742jsogoaj<br />
<strong>9/24/16, 12:05 - Name B</strong>: jgaojaegeioie ejgpoapsdfs; pajavpoapokads askjflkj gkjklgja"</p>
<p dir="auto">Can anybody give a solution to my question as I have a huge data which is like the above example.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/12666/how-do-i-merge-data-in-different-lines-in-notepad-whatever-is-between-two-different-dates</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 08:04:26 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12666.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Nov 2016 18:36:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How do I merge data in different lines in notepad++ whatever is between two different dates? on Wed, 30 Nov 2016 15:40:18 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> you are the best… you just saved my lots of time.  Thanks a lot you don’t know how much did you helped me here.</p>
<p dir="auto">Thankyou<br />
Thankyou<br />
Thankyou</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19583</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19583</guid><dc:creator><![CDATA[Yusuf Qureshi]]></dc:creator><pubDate>Wed, 30 Nov 2016 15:40:18 GMT</pubDate></item><item><title><![CDATA[Reply to How do I merge data in different lines in notepad++ whatever is between two different dates? on Fri, 11 Nov 2016 08:02:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <strong>Yusuf Qureshi</strong>,</p>
<p dir="auto">As usual, a simple Search/Replacement, in <strong>Regular expression</strong> mode, is the <strong>right</strong> way to do ! So :</p>
<ul>
<li>
<p dir="auto">Go back to the <strong>very beginning</strong> of your file ( <strong>CTRL + Origin</strong> )</p>
</li>
<li>
<p dir="auto">Open the <strong>Replace</strong> dialog ( <strong>CTRL + H</strong> )</p>
</li>
<li>
<p dir="auto">In the <strong>Find what</strong> zone, insert the regex <strong><code>\R+(?!\d\d?/\d\d?/(\d\d)?\d\d)</code></strong></p>
</li>
<li>
<p dir="auto">In the <strong>Replace with</strong> zone, type <strong>any</strong> character which will replace the <strong>deleted EOL</strong> characters. It could be :</p>
<ul>
<li>
<p dir="auto">A <strong>space</strong> character</p>
</li>
<li>
<p dir="auto">Any separator as, for instance, the <strong><code>|</code></strong> <strong>pipe</strong> character or a <strong>comma</strong>, or…</p>
</li>
<li>
<p dir="auto"><strong>Nothing</strong>, if you want to join the lines, <strong>strictly</strong></p>
</li>
</ul>
</li>
<li>
<p dir="auto">Select the <strong>Regular expression</strong> search mode ( IMPORTANT )</p>
</li>
<li>
<p dir="auto">Click on the <strong>Replace All</strong> button</p>
</li>
</ul>
<p dir="auto"><strong>Notes on that S/R</strong> :</p>
<ul>
<li>
<p dir="auto">The <strong>first</strong> part <strong><code>\R+</code></strong> syntax matches any kind of <strong>consecutive EOL</strong> characters ( <strong><code>\r\n</code></strong> ) in <strong>Windows</strong> files, ( <strong><code>\n</code></strong> ) in <strong>Unix</strong> files or ( <strong><code>\r</code></strong> ) in <strong>Mac</strong> files</p>
</li>
<li>
<p dir="auto">The  <strong>third</strong> part <strong><code>\d\d?/\d\d?/(\d\d)?\d\d</code></strong> would match <strong>any date</strong>, of the form :</p>
<ul>
<li>1/12/16</li>
<li>23/3/16</li>
<li>10/11/16</li>
<li>1/2/16</li>
<li>1/12/2016</li>
<li>23/3/2016</li>
<li>10/11/2016</li>
<li>1/2/2016</li>
</ul>
</li>
<li>
<p dir="auto">That <strong>third</strong> part is <strong>embedded</strong> in the syntax <strong><code>(?!.........)</code></strong>, which is called a <strong>negative look-ahead</strong>. This means that an <strong>overall</strong> match will be <strong>true</strong>, ONLY IF, right after the <strong>EOL</strong> character(s), a <strong>date</strong>, with the above sizes, <strong>cannot</strong> be found !</p>
</li>
<li>
<p dir="auto">In that case, the range of consecutive <strong>EOL</strong> character(s) will be replaced, by any <strong>string</strong>, typed in the <strong>replacement</strong> field, even <strong>nothing</strong> !</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>P.S.</strong> :</p>
<p dir="auto">You’ll find <strong>good documentation</strong>, about the new <strong>Boost C++ Regex library, v1.55.0</strong> ( similar to the <strong>PERL Regular Common Expressions, v1.48.0</strong> ), used by <strong><code>Notepad++</code></strong>, <em>since its <strong><code>6.0</code></strong> version</em>, at the <strong>TWO</strong> addresses below :</p>
<p dir="auto"><a href="http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html" rel="nofollow ugc">http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html</a></p>
<p dir="auto"><a href="http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html" rel="nofollow ugc">http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html</a></p>
<ul>
<li>
<p dir="auto">The <strong>FIRST</strong> link explains the <strong>syntax</strong>, of regular expressions, in the <strong>SEARCH</strong> part</p>
</li>
<li>
<p dir="auto">The <strong>SECOND</strong> link explains the <strong>syntax</strong>, of regular expressions, in the <strong>REPLACEMENT</strong> part</p>
</li>
</ul>
<p dir="auto">We may, also, look for <strong>valuable</strong> informations, on the <strong>sites</strong>, below :</p>
<p dir="auto"><a href="http://www.regular-expressions.info" rel="nofollow ugc">http://www.regular-expressions.info</a></p>
<p dir="auto"><a href="http://www.rexegg.com" rel="nofollow ugc">http://www.rexegg.com</a></p>
<p dir="auto"><a href="http://perldoc.perl.org/perlre.html" rel="nofollow ugc">http://perldoc.perl.org/perlre.html</a></p>
<p dir="auto">To end with, you may ask, the <strong>N++ Community</strong>, for infos on any <strong>tricky</strong> regex that you came across OR for building any <strong>tricky</strong> regex, for a particular purpose :-))</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19141</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19141</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Fri, 11 Nov 2016 08:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to How do I merge data in different lines in notepad++ whatever is between two different dates? on Thu, 10 Nov 2016 04:39:11 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot for replying… :) but that is what manually I can do and I am aware of that where as I have a huge data and is taking lots and lots of time doing it line by line… I was searching for a command or any sort of short cuts by which I can do it for all complete file…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19138</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19138</guid><dc:creator><![CDATA[Yusuf Qureshi]]></dc:creator><pubDate>Thu, 10 Nov 2016 04:39:11 GMT</pubDate></item><item><title><![CDATA[Reply to How do I merge data in different lines in notepad++ whatever is between two different dates? on Thu, 10 Nov 2016 00:17:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yusuf-qureshi" aria-label="Profile: Yusuf-Qureshi">@<bdi>Yusuf-Qureshi</bdi></a></p>
<p dir="auto">select the lines and then Edit-&gt;Line Operations-&gt;Join Lines</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/19136</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/19136</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Thu, 10 Nov 2016 00:17:45 GMT</pubDate></item></channel></rss>