<?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 and Replace names in several text files]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/18062/find-and-replace-iteration">Find and Replace Iteration…</a></p>
<p dir="auto">Dear colleagues,</p>
<p dir="auto">I have a file with two names separated by space, while each pair is in a different line.</p>
<p dir="auto">NameA NameB<br />
NameC NameD<br />
…</p>
<p dir="auto">I also have several files in the formarmat .tre, .nex and they all can be open on note pad ++ and showed as text.</p>
<p dir="auto">What I want to do is replace the nameA for NameB, C for D and so on. In all files opened on notepad ++.</p>
<p dir="auto">The names to be replaced on the other files may be inside a phrase with complex symbols like:</p>
<p dir="auto">102.222;NameA%LLLNameC@#%</p>
<p dir="auto">If I do it manually it works. I use ctrl H, fill the form with replace NameA for NameB and click on replace in all open documents.</p>
<p dir="auto">However, I would have to do it too many times, so I want to do it automatically. I’ve reading the forum, but I have no experience coding.</p>
<p dir="auto">Can someone please write a little command to be used on the replace tool from notepad ++ to solve this problem? I believe it is possible.</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22721/find-and-replace-names-in-several-text-files</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 10:16:59 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22721.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Mar 2022 12:21:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Find and Replace names in several text files on Wed, 16 Mar 2022 11:35:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/samuel-geremias" aria-label="Profile: samuel-geremias">@<bdi>samuel-geremias</bdi></a> said in <a href="/post/75158">Find and Replace names in several text files</a>:</p>
<blockquote>
<p dir="auto">but I have no experience coding.<br />
Can someone please write a little command to be used on the replace tool from notepad ++ to solve this problem? I believe it is possible.</p>
</blockquote>
<p dir="auto">Most anything is possible with “coding”. :-)</p>
<p dir="auto">Yes, this is a task that you aren’t going to get anywhere on without some coding.</p>
<p dir="auto">Perhaps this <a href="https://community.notepad-plus-plus.org/topic/22601/are-there-any-plugins-or-ways-to-perform-multiple-search-and-replace-regex-operations-at-once">OTHER RECENT THREAD</a> has some starter information for this task…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75189</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75189</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 16 Mar 2022 11:35:50 GMT</pubDate></item><item><title><![CDATA[Reply to Find and Replace names in several text files on Tue, 15 Mar 2022 23:10:18 GMT]]></title><description><![CDATA[<p dir="auto">Not one of the coding geniuses here, but it seems it would be a good time to learn the forum and regex, since you are a first time poster. You can start by reading this thread  to learn to format your request post here at this link: <a href="https://community.notepad-plus-plus.org/topic/21925/faq-desk-formatting-forum-posts/1">Formatting in the Forum</a> so the folks here will be able to see <strong>exactly what you need changed, and what you want it to look like.</strong></p>
<p dir="auto">Also, since you are a new poster, check the online manual to learn about regex, and good site to learn how to do that is here: <a href="https://regex101.com/" rel="nofollow ugc">regex101.com</a>, to interactively test the results and also to learn more about what the regex highlights. You can use the Notepad++ search and replace functionality, or the mark, but I find that playing in this sandbox keeps me from accidentally messing something up. Good luck, learn this stuff for yourself, it’s been a fun and valuable experience for me, after the frustration subsides. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/75179</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/75179</guid><dc:creator><![CDATA[Lycan Thrope]]></dc:creator><pubDate>Tue, 15 Mar 2022 23:10:18 GMT</pubDate></item></channel></rss>