<?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[Change a line..]]></title><description><![CDATA[<p dir="auto">Have tried and tried but can’t get it to work…</p>
<p dir="auto">This is what I have:                                       title = AIGAIM_Air Busan Airbus A321-200SL ; Variation name</p>
<p dir="auto">I want to change to this:                              title = "AIGAIM_Air Busan Airbus A321-200SL ; "</p>
<p dir="auto">Any help appreciated…have to do a couple thousand times…lol</p>
<p dir="auto">Bob M.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/20886/change-a-line</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 09:18:43 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/20886.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Mar 2021 18:02:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 20:04:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> said in <a href="/post/63957">Change a line..</a>:</p>
<blockquote>
<p dir="auto">= ${1}“${2}”;</p>
</blockquote>
<p dir="auto">This worked like a charm:</p>
<p dir="auto">(?-is)^(title = )(.*?); Variation name"<br />
${1}${2};"</p>
<p dir="auto">I think I can adapt it or tweak it if I need too.</p>
<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/63958</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63958</guid><dc:creator><![CDATA[Carolina Number 1]]></dc:creator><pubDate>Mon, 15 Mar 2021 20:04:19 GMT</pubDate></item><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 19:43:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/carolina-number-1" aria-label="Profile: Carolina-Number-1">@<bdi>Carolina-Number-1</bdi></a> said in <a href="/post/63954">Change a line..</a>:</p>
<blockquote>
<p dir="auto">and the replace will be removing variation name and add a " to the title line.</p>
</blockquote>
<p dir="auto">I didn’t notice that in the first data.</p>
<ul>
<li>Find what = <code>(?-is)^(title = )(.*?); Variation name</code></li>
<li>Replace with = <code>${1}"${2}";</code></li>
</ul>
<p dir="auto">I put the prefix in group 1, and the title value in group 2.  In the replacement, I put the quotes around the title value.</p>
<blockquote>
<p dir="auto">Are you and Alan developers of this great program</p>
</blockquote>
<p dir="auto">Neither he nor I are frequent contributors to the codebase.  We “pay it back” by answering questions and helping others here. :-)</p>
<blockquote>
<p dir="auto">where can I donate</p>
</blockquote>
<p dir="auto"><a href="http://notepad-plus-plus.org/donate/" rel="nofollow ugc">http://notepad-plus-plus.org/donate/</a> is the official donation page for the Notepad++</p>
]]></description><link>https://community.notepad-plus-plus.org/post/63957</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63957</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 15 Mar 2021 19:43:28 GMT</pubDate></item><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 19:28:02 GMT]]></title><description><![CDATA[<p dir="auto">I am 70…having one of those days…I am basically just changing the title line for whatever is on the line .</p>
<p dir="auto">I think the search line (Find what) is right…I will add a <strong>"</strong> next to Variation name"<br />
and the replace will be removing <strong>variation name</strong> and <strong>add</strong> a <strong>"</strong> to the title line.</p>
<p dir="auto">The info on the title line is for hundreds and thousands of different AIGAIM _ names.</p>
<p dir="auto">Thanks, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<p dir="auto">BobM</p>
<p dir="auto">PS Are you and Alan developers of this great program and if so…where can I donate… You guys are wonderful to put up with some real winners…lol</p>
]]></description><link>https://community.notepad-plus-plus.org/post/63954</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63954</guid><dc:creator><![CDATA[Carolina Number 1]]></dc:creator><pubDate>Mon, 15 Mar 2021 19:28:02 GMT</pubDate></item><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 18:57:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/carolina-number-1" aria-label="Profile: Carolina-Number-1">@<bdi>Carolina-Number-1</bdi></a> quoted from <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a>’s post from <a href="https://community.notepad-plus-plus.org/post/63362">“Paste every “say 37th line” apx…”</a>, where extended mode was recommended, then asked</p>
<blockquote>
<p dir="auto"><img src="https://community.notepad-plus-plus.org/assets/uploads/files/1614433351875-58fdc235-dae6-4e51-beba-5e5351f3f61f-image.png" alt="" class=" img-fluid img-markdown" /><br />
Alan: If i go back to this; will this be ok…</p>
</blockquote>
<p dir="auto">… then deleted that message while I was starting to reply …</p>
<p dir="auto">You can use extended mode to do some replacements, as long as the fancy characters you are looking for only involve newlines (<code>\r\n</code>), tabs, etc.  But since you seem to be wanting to do partial replacement, I don’t think that “extended” will be sufficient</p>
<p dir="auto">Since there were like 30 posts the last time, and to prevent so much back and forth, I’m going to try to read your mind.</p>
<p dir="auto">I mind-read that you have data like</p>
<pre><code>title = AIGAIM_Air Busan Airbus A321-200SL ; Variation name
some other rows
Variation name might appear elsewhere

title = AIGAIM_Thai VietJet Air Airbus A320-200 ; Variation name
blah
</code></pre>
<p dir="auto">and you want to look for any of the “title” lines, and remove just the “Variation name” portion, so that it will end up like</p>
<pre><code>title = AIGAIM_Air Busan Airbus A321-200SL ;
some other rows
Variation name might appear elsewhere

title = AIGAIM_Thai VietJet Air Airbus A320-200 ;
blah
</code></pre>
<p dir="auto">(Do you see how much easier it is to see the “before” and “after” when you actually show it, in the <code>&lt;/&gt;</code> text boxes?!)</p>
<p dir="auto">Now you can fill out the Replace dialog like:</p>
<ul>
<li>Find What = <code>(?-is)^(title = .*?;) Variation name</code></li>
<li>Replace With = <code>${1}</code></li>
<li>Search Mode = regular expression</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1615834529508-881de85a-cdd9-491d-9eab-43064c0cd73b-image.png" alt="881de85a-cdd9-491d-9eab-43064c0cd73b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If this is not sufficient, you will have to do a better job of clarifying if you want any more help.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/63951</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63951</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 15 Mar 2021 18:57:45 GMT</pubDate></item><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 18:41:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> <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">Thank you… I will read this and try to figure this out…</p>
<p dir="auto">Bestest!!</p>
<p dir="auto">BobM.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/63950</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63950</guid><dc:creator><![CDATA[Carolina Number 1]]></dc:creator><pubDate>Mon, 15 Mar 2021 18:41:20 GMT</pubDate></item><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 18:29:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/carolina-number-1" aria-label="Profile: Carolina-Number-1">@<bdi>Carolina-Number-1</bdi></a> ,</p>
<p dir="auto">In your first post, you said</p>
<blockquote>
<p dir="auto">This is what I have: title = AIGAIM_Air Busan Airbus A321-200SL ; Variation name<br />
I want to change to this: title = "AIGAIM_Air Busan Airbus A321-200SL ; "</p>
</blockquote>
<p dir="auto">In your next</p>
<blockquote>
<p dir="auto">title = “AIGAIM_Airblue Airbus A321-200SL ; Variation name”<br />
title = "${1} ; "</p>
</blockquote>
<p dir="auto">and in your third, you went back to</p>
<blockquote>
<p dir="auto">I search for this: title = “AIGAIM_Airblue Airbus A321-200SL ; Variation name”<br />
I replaced with this; title = "AIGAIM_Airblue Airbus A321-200SL ; "</p>
</blockquote>
<p dir="auto">Does that <em>really</em> seem to you to be adequate clarification?  What new information do you think you shared in the third that you hadn’t already shared?</p>
<p dir="auto">Read and understand the advice below, and try again.</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 literal 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>.</em><br />
<img src="https://i.imgur.com/KOsSLNe.png" alt="" class=" img-fluid img-markdown" /><br />
<em>To make <code>regex in red</code> (and so they keep their special characters like *), use backticks, like <code>`^.*?blah.*?\z`</code>. 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/63948</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63948</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 15 Mar 2021 18:29:44 GMT</pubDate></item><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 18:24:05 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></p>
<p dir="auto">I search for this: title = “AIGAIM_Airblue Airbus A321-200SL ; Variation name”<br />
I replaced with this; title = "AIGAIM_Airblue Airbus A321-200SL ; "</p>
<p dir="auto">will that work:  I am wanting to run an “expression” that will change the <em>search</em> to the <em>replace</em>?  Begins with title on both search and replace.   I am basically changing the title line for both lines.</p>
<p dir="auto">Does that work Alan?</p>
<p dir="auto">Bestest,<br />
BobM.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/63947</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63947</guid><dc:creator><![CDATA[Carolina Number 1]]></dc:creator><pubDate>Mon, 15 Mar 2021 18:24:05 GMT</pubDate></item><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 18:15:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/carolina-number-1" aria-label="Profile: Carolina-Number-1">@<bdi>Carolina-Number-1</bdi></a></p>
<p dir="auto">I’m confused by your example.<br />
I think you need to better identify what you searched for and what you replaced with.  Something like:</p>
<p dir="auto">find: <code>I searched for this</code><br />
replace: <code>I replaced with this</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/63946</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63946</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 15 Mar 2021 18:15:04 GMT</pubDate></item><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 18:12:26 GMT]]></title><description><![CDATA[<p dir="auto">title = “AIGAIM_Airblue Airbus A321-200SL ; Variation name”</p>
<p dir="auto">title = "${1} ; "</p>
<p dir="auto">I had this from before but want to have it like this… (I was screwing around and couldn’t get it right so this is a fresh sample…regular expression</p>
<p dir="auto">Thanks !!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/63945</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63945</guid><dc:creator><![CDATA[Carolina Number 1]]></dc:creator><pubDate>Mon, 15 Mar 2021 18:12:26 GMT</pubDate></item><item><title><![CDATA[Reply to Change a line.. on Mon, 15 Mar 2021 18:05:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/carolina-number-1" aria-label="Profile: Carolina-Number-1">@<bdi>Carolina-Number-1</bdi></a> said in <a href="/post/63943">Change a line..</a>:</p>
<blockquote>
<p dir="auto">Have tried and tried but can’t get it to work…</p>
</blockquote>
<p dir="auto">Exactly <em>what</em> have you tried?<br />
Seeing what you’ve done and allowing us to comment on it, helps the learning process, for repeat data-manipulation question askers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/63944</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/63944</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 15 Mar 2021 18:05:25 GMT</pubDate></item></channel></rss>