<?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[Deleting all numbers with specific letter(s)]]></title><description><![CDATA[<p dir="auto">Hello. I have lines like these:<br />
9.15	Premjera. Senis.395	s.<br />
10.20	Premjera. Štutgarto kriminalinė policija.8/12 s.<br />
I want to delete every “395	s.” and “8/12 s.” without disturbing other numbers. Also these numbers keeps changing like (395 s., 396 s.,  397 s. and 8/12 s.,  8/13 s.<br />
Is it possible?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16268/deleting-all-numbers-with-specific-letter-s</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 08:25:19 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16268.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Sep 2018 16:14:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Deleting all numbers with specific letter(s) on Wed, 05 Sep 2018 07:56:51 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> Sorry for being unclear! Sometimes I read my older posts and wonder how people managed to find any sense in them. That’s why I post so rarely…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34621</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34621</guid><dc:creator><![CDATA[Berniukas Neziniukas]]></dc:creator><pubDate>Wed, 05 Sep 2018 07:56:51 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting all numbers with specific letter(s) on Wed, 05 Sep 2018 07:35:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: Scott-Sumner">@<bdi>Scott-Sumner</bdi></a> This did the trick. You saved me a lot of time,  thank you very much!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34618</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34618</guid><dc:creator><![CDATA[Berniukas Neziniukas]]></dc:creator><pubDate>Wed, 05 Sep 2018 07:35:54 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting all numbers with specific letter(s) on Wed, 05 Sep 2018 00:39:43 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>, yes we seem to often find posters whose primary language is NOT English, doing a fine job of writing in English, but those subtle nuances are what impart a lot more information.</p>
<p dir="auto">I’m actually going through the old posts (a little project of mine, we will see if it works out) and invariably the writing styles of the OPer is what causes most of the issues initially. Just getting the understanding right before launching into a regex is key to a good solution.</p>
<p dir="auto">Just an observation</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34599</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34599</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 00:39:43 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting all numbers with specific letter(s) on Wed, 05 Sep 2018 00:35:17 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: terry-r">@<bdi>terry-r</bdi></a>,</p>
<p dir="auto">Ah, I see ! Actually, the OP meant :</p>
<blockquote>
<p dir="auto">I want to delete every expression “395 s.” and “8/12 s.” and similar ones, without disturbing other numbers, in other forms !</p>
</blockquote>
<p dir="auto">I didn’t notice the <strong>difference</strong> :-((</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34598</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34598</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 05 Sep 2018 00:35:17 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting all numbers with specific letter(s) on Wed, 05 Sep 2018 00:21:36 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> it appears you did miss the obvious. That being the next sentence:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/berniukas-neziniukas" aria-label="Profile: Berniukas-Neziniukas">@<bdi>Berniukas-Neziniukas</bdi></a> said:</p>
<blockquote>
<p dir="auto">Also these numbers keeps changing like (395 s., 396 s., 397 s. and 8/12 s., 8/13 s.</p>
</blockquote>
<p dir="auto">So the numbers aren’t always the same, hence your regex will miss other “similar” but different numbers.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34597</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34597</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 05 Sep 2018 00:21:36 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting all numbers with specific letter(s) on Wed, 05 Sep 2018 00:15:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/berniukas-neziniukas" aria-label="Profile: berniukas-neziniukas">@<bdi>berniukas-neziniukas</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: scott-sumner">@<bdi>scott-sumner</bdi></a> and <strong>All</strong>,</p>
<p dir="auto"><strong>Scott</strong>, am I missing something <strong>obvious</strong> ?!</p>
<p dir="auto">As, from the sentence :</p>
<blockquote>
<p dir="auto">I want to delete every “395 s.” and “8/12 s.” without disturbing other numbers.</p>
</blockquote>
<p dir="auto">It seems, to my mind, that the <strong>correct</strong> search regex is, <strong>simply</strong>,  the <strong>obvious</strong> one, below :</p>
<p dir="auto"><strong><code>\.(395|8/12)\x20s\.</code></strong></p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34596</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34596</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 05 Sep 2018 00:15:34 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting all numbers with specific letter(s) on Tue, 04 Sep 2018 19:36:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/berniukas-neziniukas" aria-label="Profile: Berniukas-Neziniukas">@<bdi>Berniukas-Neziniukas</bdi></a></p>
<p dir="auto">Why does it seem like every problem is a regex problem today?</p>
<p dir="auto">Try this:</p>
<p dir="auto"><strong>Find what</strong> zone: <code>\.(?:(?:[0-9/]+)|(?:\d+))\x20s\.</code><br />
<strong>Replace with</strong> zone: leave this empty<br />
<strong>Wrap around</strong> checkbox: as desired<br />
<strong>Search mode</strong>: Regular expression<br />
Action: Press <strong>Replace</strong> / <strong>Replace All</strong> button</p>
<p dir="auto">Here’s an explanation of how it works:</p>
<ul>
<li>[Match the character “.” literally][<em><strong>1</strong></em> ] <code>\.</code></li>
<li>[Match the regular expression below][<em><strong>2</strong></em> ] <code>(?:(?:[0-9/]+)|(?:\d+))</code>
<ul>
<li>[Match this alternative (attempting the next alternative only if this one fails)][<em><strong>3</strong></em> ] <code>(?:[0-9/]+)</code>
<ul>
<li>[Match the regular expression below][<em><strong>2</strong></em> ] <code>(?:[0-9/]+)</code>
<ul>
<li>[Match a single character present in the list below][<em><strong>4</strong></em> ] <code>[0-9/]+</code>
<ul>
<li>[Between one and unlimited times, as many times as possible, giving back as needed (greedy)][<em><strong>5</strong></em> ] <code>+</code></li>
<li>[A character in the range between “0” and “9”][<em><strong>4</strong></em> ] <code>0-9</code></li>
<li>[The literal character “/”][<em><strong>6</strong></em> ] <code>/</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>[Or match this alternative (the entire group fails if this one fails to match)][<em><strong>3</strong></em> ] <code>(?:\d+)</code>
<ul>
<li>[Match the regular expression below][<em><strong>2</strong></em> ] <code>(?:\d+)</code>
<ul>
<li>[Match a single character that is a “digit” (any symbol with a decimal value in the active code page)][<em><strong>7</strong></em> ] <code>\d+</code>
<ul>
<li>[Between one and unlimited times, as many times as possible, giving back as needed (greedy)][<em><strong>5</strong></em> ] <code>+</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>[Match the character “ ” which occupies position 0x20 (32 decimal) in the character set][<em><strong>8</strong></em> ] <code>\x20</code></li>
<li>[Match the character “s” literally (case sensitive)][<em><strong>6</strong></em> ] <code>s</code></li>
<li>[Match the character “.” literally][<em><strong>1</strong></em> ] <code>\.</code></li>
</ul>
<p dir="auto">Created with <a href="http://www.regexbuddy.com/" rel="nofollow ugc">RegexBuddy</a></p>
<p dir="auto">[<em><strong>1</strong></em> ]: <a href="http://www.regular-expressions.info/characters.html#special" rel="nofollow ugc">http://www.regular-expressions.info/characters.html#special</a><br />
[<em><strong>2</strong></em> ]: <a href="http://www.regular-expressions.info/brackets.html" rel="nofollow ugc">http://www.regular-expressions.info/brackets.html</a><br />
[<em><strong>3</strong></em> ]: <a href="http://www.regular-expressions.info/alternation.html" rel="nofollow ugc">http://www.regular-expressions.info/alternation.html</a><br />
[<em><strong>4</strong></em> ]: <a href="http://www.regular-expressions.info/charclass.html" rel="nofollow ugc">http://www.regular-expressions.info/charclass.html</a><br />
[<em><strong>5</strong></em> ]: <a href="http://www.regular-expressions.info/repeat.html" rel="nofollow ugc">http://www.regular-expressions.info/repeat.html</a><br />
[<em><strong>6</strong></em> ]: <a href="http://www.regular-expressions.info/characters.html" rel="nofollow ugc">http://www.regular-expressions.info/characters.html</a><br />
[<em><strong>7</strong></em> ]: <a href="http://www.regular-expressions.info/shorthand.html" rel="nofollow ugc">http://www.regular-expressions.info/shorthand.html</a><br />
[<em><strong>8</strong></em> ]: <a href="http://www.regular-expressions.info/nonprint.html" rel="nofollow ugc">http://www.regular-expressions.info/nonprint.html</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/34586</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34586</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Tue, 04 Sep 2018 19:36:46 GMT</pubDate></item></channel></rss>