<?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[multiple txt to one new txt]]></title><description><![CDATA[<p dir="auto">i have a lot of txt (1200!) like this content:<br />
<a href="mailto:xxxx@xx.xxx" rel="nofollow ugc">xxxx@xx.xxx</a>:kkkkkkk:380329:53687091200</p>
<ul>
<li>blablabla - 380329 bytes - 9/7/2019 7:47:16 PM</li>
</ul>
<p dir="auto">i want copy only this part <a href="mailto:xxxx@xx.xxx" rel="nofollow ugc">xxxx@xx.xxx</a>:kkkkkkk for each txt and paste into only new txt like this:<br />
<a href="mailto:xxxx@xx.xxx" rel="nofollow ugc">xxxx@xx.xxx</a>:kkkkkkk<br />
<a href="mailto:xxxx@xx.xxx" rel="nofollow ugc">xxxx@xx.xxx</a>:kkkkkkk<br />
<a href="mailto:xxxx@xx.xxx" rel="nofollow ugc">xxxx@xx.xxx</a>:kkkkkkk<br />
<a href="mailto:xxxx@xx.xxx" rel="nofollow ugc">xxxx@xx.xxx</a>:kkkkkkk</p>
<p dir="auto">is it possible to do this??</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18793/multiple-txt-to-one-new-txt</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 02:42:28 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18793.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Jan 2020 16:28:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to multiple txt to one new txt on Thu, 23 Jan 2020 14:29:24 GMT]]></title><description><![CDATA[<p dir="auto">thanks you so much, again! cheers</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50048</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50048</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Thu, 23 Jan 2020 14:29:24 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Thu, 23 Jan 2020 11:27:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a>,</p>
<p dir="auto">Ah, OK ! So, if we consider that there were <strong><code>2</code></strong> <strong>separate</strong> tasks and starting with your <strong>exact</strong> input text, below :</p>
<pre><code class="language-diff">ladgdfg_jfdggs@yertynno.com.vn:1234556:1654473467:53687091200
jegfa@nkcore.com:jeryr55673:1757810123:53687091200
ghyfm36@rocgfhmmail.com:mintgg18509:11767409268:53687091200
v7cifgthhy@yasbco.com.tw:512454215:380488:53687091200
</code></pre>
<p dir="auto">The <strong>following</strong> regex S/R :</p>
<ul>
<li>
<p dir="auto">SEARCH  <strong><code>(?-s)^.+?:.+?\K:.+</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
</li>
<li>
<p dir="auto">Click on the <strong><code>Replace All</code></strong> button, <strong>exclusively</strong></p>
</li>
</ul>
<p dir="auto">should leave you with your <strong>expected</strong> result :</p>
<pre><code class="language-diff">ladgdfg_jfdggs@yertynno.com.vn:1234556
jegfa@nkcore.com:jeryr55673
ghyfm36@rocgfhmmail.com:mintgg18509
v7cifgthhy@yasbco.com.tw:512454215
</code></pre>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50043</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50043</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Thu, 23 Jan 2020 11:27:24 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Thu, 23 Jan 2020 08:12:05 GMT]]></title><description><![CDATA[<p dir="auto">ohhhhh very great! many thanks for your help! very very thanks.<br />
and you’re right when you say you have to study. and usually I do. but in the case of np ++ using little, it did not occur to me to search and learn reg ex expressions. but I will take your suggestion into account.</p>
<p dir="auto">for my question: this is ANOTHER txt, then different. but anyway you code work great, my intent was that! very very many thanks for your help!<br />
Regards</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50037</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50037</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Thu, 23 Jan 2020 08:12:05 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Thu, 23 Jan 2020 02:24:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Nice ! I even succeded to <strong>merge</strong> your <strong>two</strong> kinds of text, by adding a <strong>third</strong> alternative in the <strong>search</strong> regex !</p>
<hr />
<p dir="auto">So, starting with the <strong>input</strong> text, below, where the <strong>e-mail</strong> adresses may be :</p>
<ul>
<li>
<p dir="auto"><strong>Preceded</strong> with any chars ( <strong>asda</strong>, <strong>12345</strong> …), followed with, at least, <strong>one space</strong> char OR <strong>beginning</strong> the line</p>
</li>
<li>
<p dir="auto"><strong>Followed</strong> with, at least, <strong>one</strong> field, determined by a <strong>colon</strong> separator char</p>
</li>
</ul>
<pre><code class="language-diff">bla bla blah
bla bla blah
bla bla blah
asda ladgdfg_jfdggs@yertynno.com.vn:1234556:1654473467:53687091200
bla bla blah
bla bla blah
jegfa@nkcore.com:jeryr55673:1757810123:53687091200
bla bla blah
bla bla blah
12345      ghyfm36@rocgfhmmail.com:mintgg18509:0000000000000:1111111111:55555555555555:777777777777777777:99999999999
bla bla blah
bla bla blah
bla bla blah
asda           v7cifgthhy@yasbco.com.tw:512454215:380488:53687091200
</code></pre>
<p dir="auto">Use the following <strong>regex</strong> S/R :</p>
<ul>
<li>
<p dir="auto">SEARCH <strong><code>(?-s)^(?!\h*[\w.\x20]+@).*\R?|^.*?\x20+|.+?:.+?\K:.+</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
</li>
<li>
<p dir="auto">Of course, the <strong><code>Regular expression</code></strong> search mode is <strong>selected</strong> and the <strong><code>Wrap around</code></strong> option is <strong>ticked</strong></p>
</li>
<li>
<p dir="auto">You must use the <strong><code>Replace All</code></strong> button, <strong>exclusively</strong> ( <strong>Not</strong> the <strong><code>Replace</code></strong> button ! )</p>
</li>
</ul>
<p dir="auto">We get the following <strong>output</strong> text :</p>
<pre><code class="language-diff">ladgdfg_jfdggs@yertynno.com.vn:1234556
jegfa@nkcore.com:jeryr55673
ghyfm36@rocgfhmmail.com:mintgg18509
v7cifgthhy@yasbco.com.tw:512454215
</code></pre>
<p dir="auto"><strong>Notes</strong> :</p>
<p dir="auto">This <strong>regular</strong> expression is composed of <strong><code>3</code></strong> alternatives :</p>
<ul>
<li>
<p dir="auto">The <strong>first</strong> part <strong><code>(?-s)^(?!\h*[\w.\x20]+@).*\R?</code></strong>, which have been explained previouly. If <strong>deletes</strong> any <strong>entire</strong> line, which does <strong>not</strong> contain a <strong><code>@</code></strong> char, after a <strong>non-null</strong> range of words chars and possible <strong>dot</strong> and/or <strong>space</strong> chars</p>
</li>
<li>
<p dir="auto">The <strong>second</strong> part <strong><code>^.*?\x20+</code></strong> which <strong>deletes</strong> all text between <strong>beginning</strong> of line and a <strong>non-null</strong> range of <strong>space</strong> characters, if that line contains an <strong>e-mail</strong> address, further on</p>
</li>
<li>
<p dir="auto">The <strong>third</strong> part <strong><code>.+?:.+?\K:.+</code></strong> <strong>deletes</strong>, after the <strong>e-mail</strong> adress, from the <strong>second</strong> <strong><code>:</code></strong> char found till the <strong>last standard</strong> char of the <strong>current</strong> scanned line</p>
</li>
<li>
<p dir="auto">Note, in this <strong>last</strong> part, the use of the <strong>lazy</strong> quantifier <strong><code>+?</code></strong> to identify all <strong>standard</strong> chars between the <strong>first</strong> and the <strong>second</strong> <strong><code>:</code></strong> chars and the <strong><code>\K</code></strong> syntax before the <strong>second</strong> <strong><code>:</code></strong> char, which <strong>resets</strong> the overall search and just grabs <strong>all</strong> the remaining chars of <strong>current</strong> line, from the <strong>second</strong> <strong><code>:</code></strong>, <strong>included</strong></p>
</li>
</ul>
<hr />
<p dir="auto"><strong>Remark</strong> :</p>
<p dir="auto">I <strong>strongly</strong> advice you to learn the <strong>regular</strong> expresions world ! Of course, you’ll have to <strong>study</strong> for <strong><code>1/2</code></strong> months, but it’s really <strong>worth</strong> it ;-)). To begin with, consult this <strong>FAQ</strong> :</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regex-documentation">https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regex-documentation</a></p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50034</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50034</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Thu, 23 Jan 2020 02:24:32 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Wed, 22 Jan 2020 17:06:53 GMT]]></title><description><![CDATA[<p dir="auto">which regex is needed to eliminate :number:number at the end of each line</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50030</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50030</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Wed, 22 Jan 2020 17:06:53 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Wed, 22 Jan 2020 16:47:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a></p>
<p dir="auto">What have you tried?<br />
What did you get?<br />
What didn’t work about it?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50029</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50029</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 22 Jan 2020 16:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Wed, 22 Jan 2020 16:35:34 GMT]]></title><description><![CDATA[<p dir="auto">another little help:<br />
i have another txt with text like this:</p>
<pre><code>ladgdfg_jfdggs@yertynno.com.vn:1234556:1654473467:53687091200
jegfa@nkcore.com:jeryr55673:1757810123:53687091200
ghyfm36@rocgfhmmail.com:mintgg18509:11767409268:53687091200
v7cifgthhy@yasbco.com.tw:512454215:380488:53687091200
</code></pre>
<p dir="auto">i need have like this:</p>
<pre><code>code_text
ladgdfg_jfdggs@yertynno.com.vn:1234556
jegfa@nkcore.com:jeryr55673
ghyfm36@rocgfhmmail.com:mintgg18509
v7cifgthhy@yasbco.com.tw:512454215
</code></pre>
<p dir="auto">i want delete all :number:number</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50028</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50028</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Wed, 22 Jan 2020 16:35:34 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Wed, 22 Jan 2020 13:25:39 GMT]]></title><description><![CDATA[<p dir="auto">oh yes! finally what i wanted!<br />
thank you very much, dear guy038.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50023</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50023</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Wed, 22 Jan 2020 13:25:39 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Wed, 22 Jan 2020 09:10:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">No problem ! If we assume that there are <strong>no space</strong> char in <strong>e-mail</strong> addressses ( generally the case ! ) and further on, in <strong>current</strong> scanned line, we just need to add an <strong>alternative</strong> which, <strong>implicitly</strong>, looks for lines with an <strong>e-mail</strong> address and deletes from <strong>beginning</strong> of current line till a <strong>non-null</strong> range of <strong>space</strong> characters. Thus, the following <strong>regex</strong> S/R :</p>
<p dir="auto">SEARCH <strong><code>(?-s)^(?!\h*[\w.\x20]+@).*\R?|^.*?\x20+</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto">And you’ll obtain your <strong>expected</strong> result :</p>
<pre><code class="language-diff">pamfhdjosa.mardedyly@ydefgo.com:cloggr4trr
cartgrtgrg@gfgbil.com:1r5yyr78115
jatrhtrh@grthil.com:mrthhrhmm17
lathmhjm@hhhjail.com:p456456inha
</code></pre>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50019</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50019</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 22 Jan 2020 09:10:38 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Wed, 22 Jan 2020 08:11:30 GMT]]></title><description><![CDATA[<p dir="auto">thank you very much. excellent result. I’d still like if you could also delete the first part of the text in front of the email from:<br />
asda <a href="mailto:address@mail.com" rel="nofollow ugc">address@mail.com</a>: mrthhrhmm17<br />
until you get:<br />
<a href="mailto:address@mail.com" rel="nofollow ugc">address@mail.com</a>: mrthhrhmm17<br />
this of course for all the email addresses listed …</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50018</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50018</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Wed, 22 Jan 2020 08:11:30 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 22:16:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Ok ! So, assuming your <strong>short</strong> example, below :</p>
<pre><code class="language-diff">.: data :.
=================================
asda pamfhdjosa.mardedyly@ydefgo.com:cloggr4trr
=================================
 
ubba:/my-wallets.zip                               379912     2019-08-07T02:52:11+02:00
.: data :.
=================================
asda cartgrtgrg@gfgbil.com:1r5yyr78115
Pry Statinf: Kree
=================================
 
ubba:/crypto.zip                                   380547     2019-08-07T02:50:07+02:00
.: data :.
=================================
asda jatrhtrh@grthil.com:mrthhrhmm17
Pry Statinf: Kree
=================================
 
ubba:/wallets.zip                                  379807     2019-08-07T02:58:33+02:00
.: data :.
=================================
asda lathmhjm@hhhjail.com:p456456inha
Pry Statinf: Kree
</code></pre>
<p dir="auto">The following <strong>regex</strong> S/R :</p>
<p dir="auto">SEARCH <strong><code>(?-s)^(?!\h*[\w.\x20]+@).*\R?</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<p dir="auto">gives this <strong>output</strong> text :</p>
<pre><code class="language-diff">asda pamfhdjosa.mardedyly@ydefgo.com:cloggr4trr
asda cartgrtgrg@gfgbil.com:1r5yyr78115
asda jatrhtrh@grthil.com:mrthhrhmm17
asda lathmhjm@hhhjail.com:p456456inha
</code></pre>
<p dir="auto">Are you expecting <strong>this</strong> result ?</p>
<p dir="auto">I simply suppose that the <strong>non-null</strong> part of an <strong>e-mail</strong> address, located <strong>before</strong> the <strong><code>@</code></strong> char, may contain :</p>
<ul>
<li>
<p dir="auto">Any <strong>word</strong> character</p>
</li>
<li>
<p dir="auto">A <strong>dot</strong> symbol</p>
</li>
<li>
<p dir="auto">A <strong>space</strong> character</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50015</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50015</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 21 Jan 2020 22:16:02 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 21:39:32 GMT]]></title><description><![CDATA[<p dir="auto">you are very kind of you. this is little extract of my txt file</p>
<pre><code>.: data :.
=================================
asda pamfhdjosa.mardedyly@ydefgo.com:cloggr4trr
=================================
 
ubba:/my-wallets.zip                               379912     2019-08-07T02:52:11+02:00
.: data :.
=================================
asda cartgrtgrg@gfgbil.com:1r5yyr78115
Pry Statinf: Kree
=================================
 
ubba:/crypto.zip                                   380547     2019-08-07T02:50:07+02:00
.: data :.
=================================
asda jatrhtrh@grthil.com:mrthhrhmm17
Pry Statinf: Kree
=================================
 
ubba:/wallets.zip                                  379807     2019-08-07T02:58:33+02:00
.: data :.
=================================
asda lathmhjm@hhhjail.com:p456456inha
Pry Statinf: Kree
</code></pre>
<p dir="auto">i want delete all text and line except<br />
<a href="mailto:mail.address@mail.com" rel="nofollow ugc">mail.address@mail.com</a>:xxxxxxxx</p>
<p dir="auto">with your string not work for me.<br />
work with (?-s)^(?!\h*[\w.]+@).<br />
but i have this result:</p>
<pre><code>

 pamfhdjosa.mardedyly@ydefgo.com:cloggr4trr





 cartgrtgrg@gfgbil.com:1r5yyr78115






 jatrhtrh@grthil.com:mrthhrhmm17






 lathmhjm@hhhjail.com:p456456inha

</code></pre>
<p dir="auto">empty line between emails and also one space before any mail address.<br />
I hope it helps me to complete the correct string!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50013</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50013</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Tue, 21 Jan 2020 21:39:32 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 20:56:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Well, it’s just up to you ! All your <strong>previous</strong> e-mail addresses did <strong>not</strong> contain any <strong>dot</strong> before the <strong><code>@</code></strong> char. Thus, I supposed that there were <em>only</em> <strong>word</strong> characters !</p>
<p dir="auto">With , your <strong>last</strong> example <strong><code>name.gress@mail.com</code></strong>, of course, the regex S/R should become :</p>
<p dir="auto">SEARCH  <strong><code>(?-s)^(?!\h*[\w.]+@).+\R</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave EMPTY</code></strong></p>
<hr />
<p dir="auto">Then, you said :</p>
<blockquote>
<p dir="auto">now i would like to add part of string to delete the rest of the text in my txt</p>
</blockquote>
<p dir="auto">I’m sorry but it’s really not <strong>clear</strong> to my mind !</p>
<p dir="auto">Please, give us a sample of your <strong>input</strong> text, with <strong>various</strong> e-mail adresses and show us the <strong>output</strong> text you are <strong>expecting</strong> to, from your present <strong>input</strong> example !</p>
<hr />
<p dir="auto">Just a <strong>hint</strong> : when replying, type your <strong>input</strong> and <strong>output</strong> text as <strong>code</strong>, using the symbol <strong><code>&lt;/&gt;</code></strong> , as below :</p>
<p dir="auto"><img src="https://camo.nodebb.org/66fcf6d7277055ac83a0a8291b1236dc5913575b?url=https%3A%2F%2Fi.imgur.com%2F6XfJaMi.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">See you later,</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50012</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50012</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 21 Jan 2020 20:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 16:48:17 GMT]]></title><description><![CDATA[<p dir="auto">I have found this that serves my purpose:<br />
\S+?@\S+?.\S+<br />
this regex select all my <a href="mailto:address@mail.com" rel="nofollow ugc">address@mail.com</a>:numberletters</p>
<p dir="auto">now i would like to add part of string to delete the rest of the text in my txt…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50000</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50000</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Tue, 21 Jan 2020 16:48:17 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 14:29:19 GMT]]></title><description><![CDATA[<p dir="auto">works well with (on reg ex):<br />
find what: (?-s)^(?!\h*\w+@).<br />
replace with:</p>
<p dir="auto">bt some mail is of the type:<br />
<a href="mailto:name.gress@mail.com" rel="nofollow ugc">name.gress@mail.com</a><br />
and the first part of the email is deleted (in this specific case the term “name”)…<br />
how to leave full email address?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49998</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49998</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Tue, 21 Jan 2020 14:29:19 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 13:46:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a></p>
<p dir="auto">Hmm.  This forum doesn’t exist for someone else to do your work for you.  Some hints about how a feature of Notepad++ works, yes, but really, don’t expect to say “I need this very specific thing” and expect someone to hand it to you.</p>
<p dir="auto">You’re expected to try things on your own, and present your (failed) results here and then you’ll probably receive help on just that aspect.</p>
<p dir="auto">But wholesale problem statement and solution provided…nope.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49997</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49997</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 21 Jan 2020 13:46:09 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 13:36:09 GMT]]></title><description><![CDATA[<p dir="auto">first method work but it remains only one address… everything else is deleted!<br />
i want keep ALL address mail and passw like <a href="mailto:xxx@xx.xxx" rel="nofollow ugc">xxx@xx.xxx</a>:dddd</p>
<p dir="auto">second method it relates only to a specific email address, instead I have several, all different…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49996</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49996</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Tue, 21 Jan 2020 13:36:09 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 09:38:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">So, apparently, you want to <strong>keep</strong> all lines <strong>beginning</strong> with an <strong>e-mail</strong> address, don’t you ?</p>
<p dir="auto">In that case, here is a regex S/R to <strong>delete</strong> any line, which does <strong>not</strong> begin with an <strong>e-mail</strong> address, with possible <strong>leading blank</strong> chars :</p>
<p dir="auto">SEARCH <strong><code>(?-s)^(?!\h*\w+@).+\R</code></strong></p>
<p dir="auto">REPLACE <strong><code>Leave Empty</code></strong></p>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">The part <strong><code>(?!\h*\w+@)</code></strong> is a <strong>negative look-ahead</strong> structure that search for the <strong>literal</strong> <strong><code>@</code></strong> char, preceded by <strong>word</strong> chars and possible <strong>blank</strong> chars ( <strong>Space</strong> or <strong>tabulation</strong> chars ) This structure returns <strong>true</strong> and valids the <strong>overall</strong> regex <strong>only</strong> when an <strong>e-mail</strong> address <strong>cannot</strong> be found</p>
</li>
<li>
<p dir="auto">In that case, the part <strong><code>.+</code></strong> grabs, from <strong>beginning</strong> of lines ( <strong><code>^</code></strong> ), all <strong>standard</strong> characters, of the <strong>current</strong> line scanned</p>
</li>
<li>
<p dir="auto">Finally, the part <strong><code>\R</code></strong> matches all types of <strong>line-breaks</strong> ( <strong><code>\r\n</code></strong> for <strong>Windows</strong> files, <strong><code>\n</code></strong> for <strong>Unix</strong> files and <strong><code>\r</code></strong> for <strong>Mac</strong> files )</p>
</li>
<li>
<p dir="auto">These <strong>entire</strong> lines are <strong>deleted</strong>, as the <strong>replace*ent</strong> zone is <strong>empty</strong></p>
</li>
</ul>
<hr />
<p dir="auto">Now, here is the method to select <strong>specific</strong> e-mail addresses, from the <strong>remaining</strong> lines and copy them in a <strong>new</strong> document.</p>
<p dir="auto">Let’s suppose that you want to search for <strong>all</strong> the occurrences of the <strong>exact</strong> address <strong><code>ccc@cc.cns:mssgahsk</code></strong> :</p>
<ul>
<li>
<p dir="auto">Open the <strong>Mark</strong> dialog ( <strong><code>Search &gt; Mark...</code></strong> menu item )</p>
</li>
<li>
<p dir="auto">First, tick the option <strong><code>Bookmark line</code></strong>, if necessary</p>
</li>
<li>
<p dir="auto">Click on the <strong><code>Clear All marks</code></strong> button ( IMPORTANT )</p>
</li>
<li>
<p dir="auto"><strong>Un-tick</strong> the <strong><code>Purge for each search</code></strong> option, if necessary</p>
</li>
<li>
<p dir="auto">Select the <strong><code>Normal</code></strong> search mode ( IMPORTANT )</p>
</li>
<li>
<p dir="auto">Tick the <strong><code>Match case</code></strong> option, preferably</p>
</li>
<li>
<p dir="auto">Tick the <strong><code>Wrap around</code></strong> option</p>
</li>
<li>
<p dir="auto">SEARCH <strong><code>ccc@cc.cns:mssgahsk</code></strong></p>
</li>
<li>
<p dir="auto">Click on the <strong><code>Mark All</code></strong> button</p>
</li>
<li>
<p dir="auto">You may change the <strong><code>Find what :</code></strong> contents and repeat the <strong>last</strong> <strong><code>2</code></strong> points, in order to <strong>bookmark</strong> other <strong>specific</strong> addresses, as well !</p>
</li>
<li>
<p dir="auto">Now, select the <strong><code>Search &gt; Bookmark &gt; Copy Bookmarked Lines</code></strong> menu option</p>
</li>
<li>
<p dir="auto">Finally, open a <strong>new</strong> document ( <strong><code>Ctrl + N</code></strong> )</p>
</li>
<li>
<p dir="auto">And <strong>paste</strong> all the <strong>bookmarked</strong> lines, in this <strong>new</strong> tab ( <strong><code>Ctrl + V</code></strong> )</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49995</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49995</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 21 Jan 2020 09:38:07 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 08:08:43 GMT]]></title><description><![CDATA[<p dir="auto">or also: how to select all line with value:<br />
data: aaaa@aa.aaa:aaaaaaa<br />
data: <a href="mailto:bbb@bb.cn" rel="nofollow ugc">bbb@bb.cn</a>:bbbbbbb<br />
data: ccc@cc.cns:mssgahsk<br />
etc<br />
and after paste into new txt?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49993</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49993</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Tue, 21 Jan 2020 08:08:43 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Tue, 21 Jan 2020 07:57:13 GMT]]></title><description><![CDATA[<p dir="auto">i want delete all text (or lines) excluding lines:<br />
A aaaa@aa.aaa:aaaaaaa<br />
B aaaa@aa.aaa:kkkkkkk<br />
C aaaa@aa.aaa:zzzzzzz<br />
D <a href="mailto:xxxx@xx.xxx" rel="nofollow ugc">xxxx@xx.xxx</a>:aaaaaaa<br />
etc</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49992</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49992</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Tue, 21 Jan 2020 07:57:13 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Mon, 20 Jan 2020 17:57:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Ah, OK, I see !</p>
<p dir="auto">Now, in your <strong><code>combined.txt</code></strong> file, if we consider the <strong>general</strong> case, below :</p>
<pre><code class="language-diff">.....
.....
A aaaa@aa.aaa:aaaaaaa
.....
.....
B aaaa@aa.aaa:kkkkkkk
.....
.....
C aaaa@aa.aaa:zzzzzzz
.....
.....
D xxxx@xx.xxx:aaaaaaa
.....
.....
E xxxx@xx.xxx:kkkkkkk
.....
.....
F xxxx@xx.xxx:zzzzzzz
.....
.....
G zzzz@zz.zzz:aaaaaaa
.....
.....
H zzzz@zz.zzz:kkkkkkk
.....
.....
I zzzz@zz.zzz:zzzzzzz
.....
.....
</code></pre>
<ul>
<li>
<p dir="auto">Firstly, which line, from <strong><code>A</code></strong> to <strong><code>I</code></strong>, do you want to <strong>keep</strong> ?</p>
</li>
<li>
<p dir="auto">Secondly, do you want to <strong>delete</strong> any text, of the <strong>remaining</strong> lines, after the <strong>second</strong> colon <strong><code>:</code></strong> <strong>included</strong> ?</p>
</li>
</ul>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49982</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49982</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 20 Jan 2020 17:57:13 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Mon, 20 Jan 2020 17:13:44 GMT]]></title><description><![CDATA[<p dir="auto">ok i have find one way to this!<br />
open cmd and write: for %f in (*.txt) do type “%f” &gt;&gt; combined.txt</p>
<p dir="auto">this command join all txt content into new one txt. and this it’s ok.<br />
now i want purge all content.<br />
on my new combined.txt i want delete all content except a line that contains:<br />
data: <a href="mailto:xxxx@xx.xxx" rel="nofollow ugc">xxxx@xx.xxx</a>:kkkkkkk<br />
this value data:xxx… repeats itself and it’s always different.<br />
how to purge combined.txt ??</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49981</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49981</guid><dc:creator><![CDATA[pinuzzu99]]></dc:creator><pubDate>Mon, 20 Jan 2020 17:13:44 GMT</pubDate></item><item><title><![CDATA[Reply to multiple txt to one new txt on Mon, 20 Jan 2020 17:43:21 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/pinuzzu99" aria-label="Profile: pinuzzu99">@<bdi>pinuzzu99</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Here is  a solution, which involves <strong>regular</strong> expressions !</p>
<ul>
<li>
<p dir="auto">First copy your <strong>input</strong> text ( <strong><code>Ctrl + A</code></strong> then <strong><code>Ctrl + C</code></strong> )</p>
</li>
<li>
<p dir="auto">Open a <strong>new</strong> tab ( <strong><code>Ctrl + N</code></strong> )</p>
</li>
<li>
<p dir="auto"><strong>Paste</strong> your text ( <strong><code>Ctrl + V</code></strong> )</p>
</li>
<li>
<p dir="auto">Open the <strong>Replace</strong> dialog ( <strong><code>Ctrl + H</code></strong> )</p>
</li>
<li>
<p dir="auto">SEARCH <strong><code>(?-s)^(\h*\w+@.+?:.+?):.+</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>\1</code></strong></p>
</li>
<li>
<p dir="auto">Tick, preferably, the <strong><code>Wrap around</code></strong> option</p>
</li>
<li>
<p dir="auto">Select the <strong><code>Regular expression</code></strong> serach mode</p>
</li>
<li>
<p dir="auto">Click on the <strong><code>Replace All</code></strong> button</p>
</li>
</ul>
<p dir="auto">Et voilà !</p>
<hr />
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">First, the part <strong><code>(?-s)</code></strong> means that the regex <strong>dot</strong> symbol <strong><code>.</code></strong> will match only a <strong>single standard</strong> character( <strong>Not</strong> a line-break )</p>
</li>
<li>
<p dir="auto">Then the part <strong><code>^</code></strong> is the default <strong>zero-length</strong> assertion, matching any <strong>beginning</strong> of line location</p>
</li>
<li>
<p dir="auto">The part <strong><code>\h*\w+@</code></strong> part looks for <strong>possible</strong> horizontal <strong>blank</strong> chars <strong><code>\h*</code></strong>, followed with any <strong>non-null</strong> range of <strong>word</strong> chars <strong><code>\w+</code></strong>, followed with the <strong>literal</strong> char <strong><code>@</code></strong></p>
</li>
<li>
<p dir="auto">Then, the part <strong><code>.+?:</code></strong> finds the <strong>shortest non-null</strong> range of chars till a <strong>colon</strong> <strong><code>:</code></strong></p>
</li>
<li>
<p dir="auto">Now, the part <strong><code>.+?</code></strong>  matches the <strong>shortest non-null</strong> range of chars, till …</p>
</li>
<li>
<p dir="auto">The last part <strong><code>:.+</code></strong>, which represents the second <strong><code>:</code></strong> of <strong>each</strong> line, followed with <strong>all</strong> the <strong>remaining</strong> chars of <strong>current</strong> scanned line</p>
</li>
<li>
<p dir="auto">As the <strong>global</strong> part <strong><code>\h*\w+@.+?:.+?</code></strong> is embedded in <strong>parentheses</strong>, it’s stored as <strong>group <code>1</code></strong>, which will be <strong>re-written</strong> as <strong><code>\1</code></strong>, <strong>only</strong>, in the <strong>replacement</strong> zone</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/49979</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/49979</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 20 Jan 2020 17:43:21 GMT</pubDate></item></channel></rss>