<?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[trying to delet a bunch of lines]]></title><description><![CDATA[<pre><code>                            "north": {"uv": [4.875, 0.25, 8.375, 3.375], "texture": "#missing"},
			"east": {"uv": [7.875, 11.875, 16, 16], "texture": "#missing"},
			"south": {"uv": [4.875, 0.5, 7.75, 3.25], "texture": "#missing"},
			"west": {"uv": [7.875, 11.875, 8.375, 12.125], "texture": "#missing"},
			"up": {"uv": [2.5, 0, 10.625, 4.125], "rotation": 270, "texture": "#missing"},
			"down": {"uv": [2.5, 0, 10.625, 4.125], "rotation": 270, "texture": "#missing"}
</code></pre>
<p dir="auto">trying to delete lines that have these in them.<br />
“north”: {“uv”: [ x,x ,x ,x ], “texture”: “#missing”},<br />
the x will be diffrent all the time</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18965/trying-to-delet-a-bunch-of-lines</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 08:24:29 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18965.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Feb 2020 07:42:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to trying to delet a bunch of lines on Tue, 25 Feb 2020 13:47:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Indeed, as noticed, below, in the <strong>Special characters</strong> section :</p>
<p dir="auto"><a href="https://www.regular-expressions.info/characters.html" rel="nofollow ugc">https://www.regular-expressions.info/characters.html</a></p>
<p dir="auto">There are only <strong><code>12</code></strong> special <strong>regex</strong> characters and, <strong>both</strong>, the <strong>closing square</strong> bracket <strong><code>]</code></strong> and the <strong>closing curly</strong> bracket <strong><code>}</code></strong> are <strong>not</strong> part of this set !</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50937</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50937</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 25 Feb 2020 13:47:56 GMT</pubDate></item><item><title><![CDATA[Reply to trying to delet a bunch of lines on Tue, 25 Feb 2020 12:29:14 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> said in <a href="/post/50932">trying to delet a bunch of lines</a>:</p>
<blockquote>
<p dir="auto">(?-s)^\h*“north”: {“uv”: [.+], “texture”: “#missing”},\R</p>
</blockquote>
<pre><code>(?-s)^\h*"north": \{"uv": \[.+], "texture": "#missing"},\R
                              ^                       ^
</code></pre>
<p dir="auto">Interesting to note that the characters indicated above <em>don’t</em> need to be escaped, but only a true regex god would remember this, and mere mortals would probably escape them thusly:</p>
<pre><code>(?-s)^\h*"north": \{"uv": \[.+\], "texture": "#missing"\},\R
                              ^^                       ^^
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/50934</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50934</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 25 Feb 2020 12:29:14 GMT</pubDate></item><item><title><![CDATA[Reply to trying to delet a bunch of lines on Tue, 25 Feb 2020 11:15:32 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/speedrider" aria-label="Profile: speedrider">@<bdi>speedrider</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Just use the following <strong>regex</strong> S/R :</p>
<p dir="auto">SEARCH <strong><code>(?-s)^\h*"north": \{"uv": \\[.+], "texture": "#missing"},\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">First, the <strong>in-line</strong> modifier <strong><code>(?-s)</code></strong> forces the regex <strong>engine</strong> to consider any regex <strong>dot</strong> symbol ( <strong><code>.</code></strong> ) to match a <strong>single standard</strong> char <strong>only</strong> and <strong>not</strong> any <strong>EOL</strong> char</p>
</li>
<li>
<p dir="auto">Then, from <strong>beginning</strong> of line ( <strong><code>^</code></strong> ), <strong>possibly</strong> followed with <strong>horizontal</strong> blanks chars, as <strong>Tab</strong>, <strong>Space</strong> ( <strong><code>\h*</code></strong> ),</p>
</li>
<li>
<p dir="auto">It tries to match the string <strong>“north”: {“uv”: [</strong>, with the <strong>regex</strong> part <strong><code>"north": \{"uv": \\[</code></strong>.</p>
</li>
<li>
<p dir="auto">Note that the special <strong>opening regex</strong> symbols <strong><code>{</code></strong>, beginning a <strong>quantifier</strong> and <strong><code>[</code></strong>, beginning a <strong>character class</strong>, must be <strong>escaped</strong>, as <strong><code>\{</code></strong> and <strong><code>\\[</code></strong>, to be <strong>interpreted</strong> as <strong>literals</strong> !</p>
</li>
<li>
<p dir="auto">It also tries to match the string <strong>], “texture”: “#missing”},</strong> and its <strong>line-break</strong>, with the <strong>final</strong> regex part <strong><code>], "texture": "#missing"},\R</code></strong></p>
</li>
<li>
<p dir="auto">With any <strong>non-null</strong> range of characters <strong><code>.+</code></strong> <strong>between</strong> these <strong>two</strong> strings</p>
</li>
<li>
<p dir="auto">As the replacement zone is <strong><code>empty</code></strong> , any current line <strong>matched</strong>, with its <strong>line-break</strong>, is then <strong>deleted</strong></p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50932</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50932</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 25 Feb 2020 11:15:32 GMT</pubDate></item></channel></rss>