<?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 can i find 2 char with a specific number of line between them please see the screen shoot]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1637602102585-untitled-project.jpg" alt="Untitled Project .jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">so as u see i want to find all the "B"s that between them 9 lines ,im new to regex search</p>
<p dir="auto">and i want to know how can i do it in another situation where there is longer lines with alot of numbers and special characters</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22173/how-can-i-find-2-char-with-a-specific-number-of-line-between-them-please-see-the-screen-shoot</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 10:32:39 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22173.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Nov 2021 17:34:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 18:34:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> 100% thanks , sorry i know that it is basic questions because i just started today but i had to ask here :), ok i will check it out</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71533</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71533</guid><dc:creator><![CDATA[QiShQ 42]]></dc:creator><pubDate>Mon, 22 Nov 2021 18:34:15 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 18:28:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qishq-42" aria-label="Profile: qishq-42">@<bdi>qishq-42</bdi></a> said in <a href="/post/71531">how can i find 2 char with a specific number of line between them please see the screen shoot</a>:</p>
<blockquote>
<p dir="auto">one question how can i exclude the B from being in one of those 5 lines?</p>
</blockquote>
<p dir="auto">I suppose you then want this?:</p>
<p dir="auto"><code>(?-s)^B([^B]*\R){6}B</code></p>
<p dir="auto">Suggest you read about regex and Notepad++ starting with references <a href="https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regular-expressions-regex-documentation/1">HERE</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71532</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71532</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 22 Nov 2021 18:28:11 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 18:23:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> one question how can i exclude the B from being in one of those 5 lines?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71531</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71531</guid><dc:creator><![CDATA[QiShQ 42]]></dc:creator><pubDate>Mon, 22 Nov 2021 18:23:40 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 18:21:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> it is working! Impressive! thank you man</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71529</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71529</guid><dc:creator><![CDATA[QiShQ 42]]></dc:creator><pubDate>Mon, 22 Nov 2021 18:21:57 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 18:13:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qishq-42" aria-label="Profile: qishq-42">@<bdi>qishq-42</bdi></a></p>
<p dir="auto">If you had 5 lines between the ones that started with the <code>B</code>s, you could use this:</p>
<p dir="auto"><code>(?-s)^B(.*\R){6}B</code></p>
<p dir="auto">Note that the <code>6</code> relates to the 5 you want – it is one more than the desired.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71527</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71527</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 22 Nov 2021 18:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 18:08:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qishq-42" aria-label="Profile: qishq-42">@<bdi>qishq-42</bdi></a><br />
im wondering how can i find it in this situation<br />
<img src="/assets/uploads/files/1637604505443-untitled-project-2.jpg" alt="Untitled Project 2.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/71526</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71526</guid><dc:creator><![CDATA[QiShQ 42]]></dc:creator><pubDate>Mon, 22 Nov 2021 18:08:28 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 18:02:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/saiapatsu" aria-label="Profile: saiapatsu">@<bdi>saiapatsu</bdi></a> said in <a href="/post/71521">how can i find 2 char with a specific number of line between them please see the screen shoot</a>:</p>
<blockquote>
<p dir="auto">B\n[^\n]*\n</p>
</blockquote>
<p dir="auto">i got it at the start [B\n[^\n]<em>\n… i had to remove the \n so it looks like this [B[^\n]</em>\n…</p>
<p dir="auto">thank you very much</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71524</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71524</guid><dc:creator><![CDATA[QiShQ 42]]></dc:creator><pubDate>Mon, 22 Nov 2021 18:02:49 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 17:59:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/saiapatsu" aria-label="Profile: saiapatsu">@<bdi>saiapatsu</bdi></a> i guess there is somthing missing in the start of your regex</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71523</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71523</guid><dc:creator><![CDATA[QiShQ 42]]></dc:creator><pubDate>Mon, 22 Nov 2021 17:59:33 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 17:53:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/saiapatsu" aria-label="Profile: saiapatsu">@<bdi>saiapatsu</bdi></a> thank you for fast replaying , it didnt work i tried also B\n[^\n]*\nB means one line between them right? it didnt work neither</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71522</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71522</guid><dc:creator><![CDATA[QiShQ 42]]></dc:creator><pubDate>Mon, 22 Nov 2021 17:53:16 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 17:45:23 GMT]]></title><description><![CDATA[<p dir="auto">This regex might work:<br />
<code>B\n[^\n]*\n[^\n]*\n[^\n]*\n[^\n]*\n[^\n]*\n[^\n]*\n[^\n]*\n[^\n]*\n[^\n]*\nB</code><br />
<code>B</code> is the letter B<br />
<code>[^\n]*</code> is any amount of anything that isn’t a newline<br />
<code>\n</code> is a newline<br />
Thus, this will find two Bs with exactly 9 newlines in the text between them, no more or less.<br />
This will also find Bs that have other Bs between them in these 9 lines. To fix that, change <code>[^\n]*</code> to <code>[^B\n]*</code> so that any of the lines between the two Bs cannot contain B.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71521</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71521</guid><dc:creator><![CDATA[Saiapatsu]]></dc:creator><pubDate>Mon, 22 Nov 2021 17:45:23 GMT</pubDate></item><item><title><![CDATA[Reply to how can i find 2 char with a specific number of line between them please see the screen shoot on Mon, 22 Nov 2021 17:42:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qishq-42" aria-label="Profile: qishq-42">@<bdi>qishq-42</bdi></a> col search</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71520</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71520</guid><dc:creator><![CDATA[QiShQ 42]]></dc:creator><pubDate>Mon, 22 Nov 2021 17:42:34 GMT</pubDate></item></channel></rss>