<?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 Find the specific IP in the IP list in notpad++]]></title><description><![CDATA[<p dir="auto">hi guys<br />
i want find  the specific IP in the IP list for example my list ip</p>
<p dir="auto">95.110.175.247<br />
156.54.22.245<br />
156.54.169.185<br />
185.63.52.110<br />
156.54.172.100<br />
185.148.108.97<br />
95.110.129.163<br />
88.42.240.186<br />
95.141.40.109<br />
79.1.194.161<br />
188.15.252.240<br />
80.211.38.119<br />
185.152.253.206<br />
151.73.164.65<br />
156.54.180.88<br />
128.116.133.119</p>
<p dir="auto">i want find example ip begain with 185.150.<em>.</em>   (* mean 0-255)</p>
<p dir="auto">resualt my list</p>
<p dir="auto">185.152.253.206</p>
<p dir="auto">find resualt 185.(number larg of 150 to 255 ).(any number 0-255).(any number 0-255)<br />
thanks for help me and sorry my bad english</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20408/how-find-the-specific-ip-in-the-ip-list-in-notpad</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 11:22:39 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20408.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Nov 2020 14:48:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how Find the specific IP in the IP list in notpad++ on Tue, 01 Dec 2020 18:46:41 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">I’m totally agree with you. The <strong>legal</strong> syntax is, indeed, the special <strong>conditional</strong> syntax <strong><code>((?(DEFINE)...........)</code></strong>. Just think about the word <strong>DEFINE</strong>, in <strong>upper</strong> case !</p>
<p dir="auto">Then, an <strong>alternative</strong> syntax could be, of course, <strong><code>(............)(*F)</code></strong>. Indeed, in manuals, the <strong>DEFINE</strong> part is described as a part of regex which does <strong>never</strong> match anything, by principle !</p>
<p dir="auto">Finally, my syntax ( the <strong>third</strong> one ), although <strong>correct</strong>, should be considered as a user’s <strong>work-around</strong> !</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60371</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60371</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 01 Dec 2020 18:46:41 GMT</pubDate></item><item><title><![CDATA[Reply to how Find the specific IP in the IP list in notpad++ on Tue, 01 Dec 2020 18:23:17 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/60367">how Find the specific IP in the IP list in notpad++</a>:</p>
<blockquote>
<p dir="auto">the last syntax, that I discovered, should help you to understand how the (*F) backtracking control verb acts !</p>
</blockquote>
<p dir="auto">Well, I think I understand the usage, but I also think the “define” version, which also works, makes more intuitive sense.  But I could be missing the point, I suppose. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60370</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60370</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 01 Dec 2020 18:23:17 GMT</pubDate></item><item><title><![CDATA[Reply to how Find the specific IP in the IP list in notpad++ on Tue, 01 Dec 2020 15:39:18 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>,</p>
<p dir="auto">No, be reassured, this <strong>fortunately</strong> has nothing to do with my <strong>mood</strong> ;-)))</p>
<p dir="auto">And, in the <strong>Remark</strong> section of <a href="https://community.notepad-plus-plus.org/post/55467">this</a> post, I do speak about the <strong><code>(DEFINE)</code></strong> method and about my <strong>personal</strong> method, too !</p>
<p dir="auto">Indeed, there are <strong>three</strong> means to achieve the same thing :</p>
<ul>
<li>
<p dir="auto"><strong><code>(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(*F)|</code>Regex to match</strong></p>
</li>
<li>
<p dir="auto"><strong><code>(?(DEFINE)(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))</code>Regex to match</strong></p>
</li>
<li>
<p dir="auto"><strong><code>(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)</code>Unknown char / string<code>|</code>Regex to match</strong></p>
</li>
</ul>
<hr />
<p dir="auto">The <strong>last</strong> syntax, that I discovered, should help you to understand how the <strong><code>(*F)</code></strong> <strong>backtracking control</strong> verb acts !</p>
<p dir="auto">In this <strong>last</strong> syntax the <strong>Unknown char / string</strong> is any character or string which is <strong>not present</strong> in current file scanned. Thus, necessarily, the <strong>first</strong> alternative <strong><code>(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)</code>Unknown char / string</strong> will <strong>never</strong> match !</p>
<p dir="auto">But, and this is the <strong>key</strong> point, the regex engine <strong>always</strong> tries this alternative, <strong>first</strong> and <strong>always</strong> defines the <strong>group <code>1</code></strong>, for <strong>further</strong> use, in the <strong>second</strong> alternative, assuming that you’re using a <strong>subroutine call</strong> to <strong>group <code>1</code></strong>, in the <strong>second</strong> alternative ;-))</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60367</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60367</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 01 Dec 2020 15:39:18 GMT</pubDate></item><item><title><![CDATA[Reply to how Find the specific IP in the IP list in notpad++ on Tue, 01 Dec 2020 14:04:46 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/60332">how Find the specific IP in the IP list in notpad++</a>:</p>
<blockquote>
<p dir="auto">(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(*F) which defines an individual byte of an IPV4 address as group 1 The important fact is that this definition is followed with the (*F) backtracking control verb ( or (*FAIL) )</p>
</blockquote>
<p dir="auto">Interesting use of <code>(*FAIL)</code>, Guy.</p>
<p dir="auto">After looking at that in detail, it rather surprises me that you used “fail”, rather than "define"ing:</p>
<p dir="auto"><code>(?(DEFINE)(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))\b(?1)(\.(?1)){3}\b</code></p>
<p dir="auto">Maybe you were having a “fail” kind of day rather than a “define” kind of day!<br />
If so, I’m sorry to hear that! :-)</p>
<p dir="auto">Or maybe you were just presenting a different spin on the IP address parsing technique – perhaps you’ve shown that one before using “define” (I can’t recall).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60363</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60363</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 01 Dec 2020 14:04:46 GMT</pubDate></item><item><title><![CDATA[Reply to how Find the specific IP in the IP list in notpad++ on Mon, 30 Nov 2020 19:56:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a></p>
<p dir="auto">Very nice, thank you. I have saved  it and hope to apply it soon.</p>
<p dir="auto">Have fun!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60345</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60345</guid><dc:creator><![CDATA[astrosofista]]></dc:creator><pubDate>Mon, 30 Nov 2020 19:56:19 GMT</pubDate></item><item><title><![CDATA[Reply to how Find the specific IP in the IP list in notpad++ on Mon, 30 Nov 2020 18:17:11 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/the-best-of-voice" aria-label="Profile: the-best-of-voice">@<bdi>the-best-of-voice</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/astrosofista" aria-label="Profile: astrosofista">@<bdi>astrosofista</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Your regex does the job nicely !</p>
<p dir="auto">I take this <strong>opportunity</strong> to point out another method. The idea is to <strong>define</strong> the regex which finds any <strong>individual</strong> byte of an <strong><code>IPV4</code></strong> address, in a <strong>group</strong>, so the regex <strong><code>(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)</code></strong> and use it to search the <strong>overall</strong> address with the regex <strong><code>\b(?#)(\.(?#)){3}\b</code></strong> where <strong><code>(?#)</code></strong> is a <strong>subroutine call</strong> to <strong>group <code>#</code></strong></p>
<p dir="auto">So the regex to search any <strong>valid</strong> <strong><code>IPV4</code></strong> address is :</p>
<p dir="auto"><strong><code>(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(*F)|\b(?1)(\.(?1)){3}\b</code></strong></p>
<p dir="auto">This regex is composed of <strong>two</strong> alternatives :</p>
<ul>
<li>
<p dir="auto"><strong><code>(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(*F)</code></strong> which defines an <strong>individual</strong> byte of an <strong><code>IPV4</code></strong> address as <strong>group</strong> <strong><code>1</code></strong> The <strong>important</strong> fact is that this definition is followed with the <strong><code>(*F)</code></strong> <strong>backtracking control</strong> verb ( or <strong><code>(*FAIL)</code></strong> )</p>
</li>
<li>
<p dir="auto"><strong><code>\b(?1)(\.(?1)){3}\b</code></strong> which searches for the <strong>complete</strong> <strong><code>IPV4</code></strong> address</p>
</li>
</ul>
<p dir="auto">So the regex engine first <strong>stores</strong> the definition of the <strong>individual</strong> byte in <strong>group</strong> <strong><code>1</code></strong> and, as it meets the <strong><code>(*F) syntax</code></strong>, the current match is considered <strong>unsuccessful</strong>. Then the regex engine tries out if <strong>other</strong> match attempts are possible and it tests the <strong>second</strong> alternative. Note that the <strong>subroutine call</strong> <strong><code>(?1)</code></strong> is <em>STILL</em>  defined, although the <strong>first</strong> alternative was <strong>cancelled</strong> because of the <strong><code>(*F)</code></strong> <strong>backtracking control</strong> verb</p>
<p dir="auto">Refer <a href="https://community.notepad-plus-plus.org/post/55467">here</a> for <strong>additional</strong> information about these special <strong>verbs</strong></p>
<p dir="auto">In a nutshell :</p>
<ul>
<li>
<p dir="auto"><strong><code>(?1)</code></strong> represents an <strong>individual</strong> byte of an <strong><code>IPV4</code></strong> address <strong><code>25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d</code></strong></p>
</li>
<li>
<p dir="auto">The <strong>second</strong> alternative is just equivalent to the regex <strong><code>(?1)\.(?1)\.(?1)\.(?1)</code></strong> between <strong>two</strong> <strong><code>\b</code></strong> boundaries and does find any <strong>valid</strong> <strong><code>IPV4</code></strong> address</p>
</li>
</ul>
<hr />
<p dir="auto">Now, to solve the <strong>OP</strong> problem and using the <strong>same</strong> idea as above, we’ll use the <strong>following</strong> regex S/R :</p>
<p dir="auto">SEARCH <strong><code>(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(*F)|\b185\.(25[0-5]|2[0-4]\d|1[5-9]\d)\.(?1)\.(?1)\b</code></strong></p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60332</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60332</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 30 Nov 2020 18:17:11 GMT</pubDate></item><item><title><![CDATA[Reply to how Find the specific IP in the IP list in notpad++ on Mon, 30 Nov 2020 15:23:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/the-best-of-voice" aria-label="Profile: The-Best-Of-Voice">@<bdi>The-Best-Of-Voice</bdi></a></p>
<p dir="auto">Try the following regex:</p>
<pre><code class="language-z">Search: ^185\.(1[5-9][0-9]|2[0-4]\d|25[0-5])(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){2}$
</code></pre>
<p dir="auto">Have fun!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/60311</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/60311</guid><dc:creator><![CDATA[astrosofista]]></dc:creator><pubDate>Mon, 30 Nov 2020 15:23:02 GMT</pubDate></item></channel></rss>