<?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[Help me Replace in line]]></title><description><![CDATA[<p dir="auto">help me please I need to replace all the numbers 5 of several files in a specific line I was using the tool to replace everything, but I need to remove only one line specifically line 16</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20136/help-me-replace-in-line</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 00:31:44 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20136.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Oct 2020 11:00:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help me Replace in line on Sun, 11 Oct 2020 17:45:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/daniel-soares" aria-label="Profile: Daniel-Soares">@<bdi>Daniel-Soares</bdi></a> ,</p>
<ul>
<li>FIND WHAT = <code>(?-s)\A^(.*\R){15}^.*?\K5</code></li>
<li>REPLACE WITH = <code>[REPLACEMENT]</code></li>
<li>REPLACE ALL (multiple times)</li>
</ul>
<p dir="auto">will change</p>
<pre><code>5 one       5 0 3
5 two       5 0 3
5 three     5 0 3
5 four      5 0 3
5 five      5 0 3
5 six       5 0 3
5 seven     5 0 3
5 eight     5 0 3
5 nine      5 0 3
5 ten       5 0 3
5 eleven    5 0 3
5 twelve    5 0 3
5 thirteen  5 0 3
5 fourteen  5 0 3
5 fifteen   5 0 3
5 sixteen   5 0 3
5 seventeen 5 0 3
</code></pre>
<p dir="auto">into</p>
<pre><code>5 one       5 0 3
5 two       5 0 3
5 three     5 0 3
5 four      5 0 3
5 five      5 0 3
5 six       5 0 3
5 seven     5 0 3
5 eight     5 0 3
5 nine      5 0 3
5 ten       5 0 3
5 eleven    5 0 3
5 twelve    5 0 3
5 thirteen  5 0 3
5 fourteen  5 0 3
5 fifteen   5 0 3
[REPLACEMENT] sixteen   [REPLACEMENT] 0 3
5 seventeen 5 0 3
</code></pre>
<p dir="auto">If this is not sufficient, I suggest explaining yourself better with example <em>before</em> and <em>after</em> data formatted as data, and otherwise follow all the advice that I will quote below;  if you choose to ignore some or all of this advice, you will find that the answers you get are not overly helpful, because you’re making us guess, and we will guess wrong (in total or in part).</p>
<p dir="auto">-—</p>
<p dir="auto"><em>Do you want regex search/replace help?  Then please be patient and polite, show some effort, and be willing to learn; answer questions and requests for clarification that are made of you.  All example text should be marked as plain text using the <code>&lt;/&gt;</code> toolbar button or manual <a href="https://community.notepad-plus-plus.org/topic/14262/how-to-markdown-code-on-this-forum/4">Markdown syntax</a>. Screenshots can be pasted from the clipboard to your post using <code>Ctrl+V</code> to show graphical items, but any text should be included as literal text in your post so we can easily copy/paste your data. Show the data you have <strong>and</strong> the text you want to get from that data; include examples of things that <strong>should match</strong> and be transformed, <strong>and</strong> things that <strong>don’t match</strong> and should be left alone; show <strong>edge cases</strong> and make sure you examples are as <strong>varied</strong> as your real data.  Show the regex you already tried, <strong>and why</strong> you thought it should work; tell us what’s wrong with what you <strong>do</strong> get… Read the official <a href="https://npp-user-manual.org/docs/searching/#regular-expressions" rel="nofollow ugc">NPP Searching / Regex docs</a> and the forum’s <a href="https://community.notepad-plus-plus.org/topic/15765/faq-desk-where-to-find-regex-documentation">Regular Expression FAQ</a>. If you follow these guidelines, you’re much more likely to get helpful replies that solve your problem in the shortest number of tries.</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/58466</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/58466</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 11 Oct 2020 17:45:12 GMT</pubDate></item></channel></rss>