<?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[Search after 2 character and delete alle between]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Can Notepad ++ does this:<br />
Search for 2 character and delete these two character and all  between ?</p>
<p dir="auto">Example<br />
Search after   “(”   and “)”<br />
Results:<br />
(summer)<br />
(sun)<br />
(flower)</p>
<p dir="auto">and delete all instances of:<br />
(summer)<br />
(sun)<br />
(flower)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/10979/search-after-2-character-and-delete-alle-between</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 23:00:10 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/10979.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 20 Dec 2015 14:51:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Search after 2 character and delete alle between on Mon, 21 Dec 2015 02:32:48 GMT]]></title><description><![CDATA[<p dir="auto">oopps, I thought ( ) should remain, but if I reread it clearly states<br />
Search for 2 character and <strong>delete these two character and all between</strong> ?</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/12717</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/12717</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 21 Dec 2015 02:32:48 GMT</pubDate></item><item><title><![CDATA[Reply to Search after 2 character and delete alle between on Mon, 21 Dec 2015 02:47:19 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <strong>Steen Frank Mikkelsen</strong> and <strong>Claudia</strong>,</p>
<p dir="auto">I think that the <strong>correct regex</strong> S/R should be :</p>
<ul>
<li>
<p dir="auto"><strong><code>\(.*?\)</code></strong> in the <strong>Find what :</strong> zone</p>
</li>
<li>
<p dir="auto"><strong><code>Nothing</code></strong> in the <strong>Replace with :</strong> zone</p>
</li>
</ul>
<p dir="auto">with the <strong>Regular expression</strong> search mode <strong>checked</strong>, of course !</p>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">The <strong>two round</strong> brackets, that have to be <strong>matched</strong>, must be <strong>escaped</strong> with a <strong>backslash</strong> character, in order to be taken <strong>literally</strong>, as there are <strong>special regex</strong> characters, which define a <strong>group</strong></p>
</li>
<li>
<p dir="auto">The syntax <strong><code>.*?</code></strong> represents the <strong>shortest</strong> string of characters, between the <strong>two round</strong> brackets</p>
</li>
<li>
<p dir="auto">The other syntax <strong><code>.*</code></strong> would have matched the <strong>largest</strong> string, between two <strong>round</strong> brackets. So, it could contain <strong>round</strong> brackets, <strong>itself</strong> !</p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/12716</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/12716</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 21 Dec 2015 02:47:19 GMT</pubDate></item><item><title><![CDATA[Reply to Search after 2 character and delete alle between on Sun, 20 Dec 2015 18:30:15 GMT]]></title><description><![CDATA[<p dir="auto">Hello Steen-Frank-Mikkelsen,</p>
<p dir="auto">one way would be to use regular expressions with replace dialog.<br />
When dialog has been opened check <strong>Regular Expression</strong> in<br />
<strong>Search Mode</strong> section.<br />
Then put the following in <strong>Find what:</strong> (()(.*)())<br />
and in <strong>Replace with:</strong> \1\3</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/12698</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/12698</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sun, 20 Dec 2015 18:30:15 GMT</pubDate></item></channel></rss>