<?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[Replace symbols around a word]]></title><description><![CDATA[<p dir="auto">I’m trying to replace a lot of lines that would otherwise take so much time.</p>
<p dir="auto">From:<br />
&lsqb;&lsqb;Wood&rsqb;&rsqb; &lsqb;&lsqb;Unit|units&rsqb;&rsqb;</p>
<p dir="auto">To:<br />
{{LT2|Wood}} {{LT2|Unit|units}}</p>
<p dir="auto">Any ideas?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23688/replace-symbols-around-a-word</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 03:52:04 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23688.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Oct 2022 13:10:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Replace symbols around a word on Mon, 05 Dec 2022 10:34:29 GMT]]></title><description><![CDATA[<p dir="auto">Replacing symbols is very simple if you use Facebook symbols. I learned a lot from this website, which has a great article on each symbol. You can convert your whole article into a symbol if you have knowledge about it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/82268</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/82268</guid><dc:creator><![CDATA[kathie carolina]]></dc:creator><pubDate>Mon, 05 Dec 2022 10:34:29 GMT</pubDate></item><item><title><![CDATA[Reply to Replace symbols around a word on Wed, 02 Nov 2022 07:04:47 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/81056">Replace symbols around a word</a>:</p>
<blockquote>
<p dir="auto">This is why it’s better the more details a person includes in their original question…</p>
</blockquote>
<p dir="auto">I couldn’t agree more.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81064</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81064</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 02 Nov 2022 07:04:47 GMT</pubDate></item><item><title><![CDATA[Reply to Replace symbols around a word on Tue, 01 Nov 2022 15:53:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said in <a href="/post/81051">Replace symbols around a word</a>:</p>
<blockquote>
<p dir="auto">That’s how I interpreted it, yes, but OP upgraded <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a>’s response, so we both seem to have missed something Guy (?) understood.</p>
</blockquote>
<p dir="auto">And oddly, when I was thinking up my reply in case it was needed (and it obviously wasn’t), mine was going to be even <em>more</em> generic than Guy’s answer, replacing <em>anything</em> between double-brackets with double-braces-and-LT2 (and wasn’t restricted to always two-to-a-line).  So I was surprised when the OP seemed to be happy with Guy’s less-generic expression.</p>
<p dir="auto">This is why it’s better the more details a person includes in their original question, because there were at least three reasonable (but incompatible) interpretations of the original question in this case.  And it’s such vagueness that gives the Search-and-Replace-Question-Template a reason to exist.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81056</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81056</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 01 Nov 2022 15:53:30 GMT</pubDate></item><item><title><![CDATA[Reply to Replace symbols around a word on Tue, 01 Nov 2022 07:35:26 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><br />
That’s how I interpreted it, yes, but OP upgraded <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a>’s response, so we both seem to have missed something Guy (?) understood. OP seems happy - that’s what matters.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81051</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81051</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 01 Nov 2022 07:35:26 GMT</pubDate></item><item><title><![CDATA[Reply to Replace symbols around a word on Mon, 31 Oct 2022 17:37:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> said in <a href="/post/81033">Replace symbols around a word</a>:</p>
<blockquote>
<p dir="auto">No regex is needed at all.</p>
</blockquote>
<p dir="auto">Well, that’s the reason I suspected the OP just hasn’t asked their <em>true</em> question, and thus why I directed them to information on <em>how</em> they should ask their question.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81034</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81034</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 31 Oct 2022 17:37:11 GMT</pubDate></item><item><title><![CDATA[Reply to Replace symbols around a word on Mon, 31 Oct 2022 16:08:45 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><br />
I’m not sure if I’m missing something, but if the text OP provided is exactly the text that should be changed, wouldn’t that be the obvious solution:</p>
<p dir="auto">find: <code>&lsqb;&lsqb;Wood&rsqb;&rsqb; &lsqb;&lsqb;Unit|units&rsqb;&rsqb;</code><br />
replace: <code>{{LT2|Wood}} {{LT2|Unit|units}}</code></p>
<p dir="auto">No regex is needed at all.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81033</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81033</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 31 Oct 2022 16:08:45 GMT</pubDate></item><item><title><![CDATA[Reply to Replace symbols around a word on Mon, 31 Oct 2022 15:52:55 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/blake-kline" aria-label="Profile: blake-kline">@<bdi>blake-kline</bdi></a>, <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"><a class="plugin-mentions-user plugin-mentions-a" href="/user/blake-kline" aria-label="Profile: blake-kline">@<bdi>blake-kline</bdi></a>, if the text shown in your post, just represents the <strong>present</strong> and <strong>future</strong> text, the following <strong>regex</strong> S/R should modify your text as <strong>expected</strong> !</p>
<ul>
<li>
<p dir="auto">SEARCH <strong><code>(?x-i) \x5B\x5B ( Wood ) \x5D \x5D \x20 \x5B\x5B ( Unit \| units ) \x5D\x5D</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>{{LT2|\1}} {{LT2|\2}}</code></strong></p>
</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81032</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81032</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 31 Oct 2022 15:52:55 GMT</pubDate></item><item><title><![CDATA[Reply to Replace symbols around a word on Mon, 31 Oct 2022 13:28:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/blake-kline" aria-label="Profile: Blake-Kline">@<bdi>Blake-Kline</bdi></a> said in <a href="/post/81028">Replace symbols around a word</a>:</p>
<blockquote>
<p dir="auto">Any ideas?</p>
</blockquote>
<p dir="auto">Just <a href="https://community.notepad-plus-plus.org/topic/22022/faq-desk-template-for-search-replace-questions/1">ONE</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/81031</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/81031</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 31 Oct 2022 13:28:32 GMT</pubDate></item></channel></rss>