<?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[Find exact lines]]></title><description><![CDATA[<p dir="auto">I am looking for a way to replace EXACT lines. I have a file that has "Word " (with space, without quotes) at the beginning of each line. What I am wanting to do is replace every line that contains "Word " with nothing after it. For example:</p>
<p dir="auto">Word<br />
Word this is the next line<br />
Word another line<br />
Word</p>
<p dir="auto">becomes<br />
Word,<br />
Word this is the next line<br />
Word another line<br />
Word,</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/14410/find-exact-lines</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 07:12:51 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/14410.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Sep 2017 14:23:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Find exact lines on Fri, 01 Sep 2017 14:30:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gabriel-clifton" aria-label="Profile: Gabriel-Clifton">@<bdi>Gabriel-Clifton</bdi></a></p>
<p dir="auto">Not too hard, try this:</p>
<p dir="auto"><strong>Find-what</strong> zone:  <code>Word\x20$</code><br />
<strong>Replace-with</strong> zone:  <code>Word,</code><br />
<strong>Search-mode</strong>:  Regular-expression</p>
<p dir="auto">You can use a plain old space instead of the <code>\x20</code> but I like to use <code>\x20</code> here on this site because it is more visible.  Either works when you are actually doing it.</p>
<p dir="auto">So in the spirit of learning something, the <code>$</code> is the key element here.  It basically means end-of-line…so you are searching for W…o…r…d…space…followed by nothing else on the line.  Replacement affects only those cases where a search match occurred, obviously.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/26582</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/26582</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Fri, 01 Sep 2017 14:30:48 GMT</pubDate></item></channel></rss>