<?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 only this first lines of world (i need maybe a plugin?)]]></title><description><![CDATA[<p dir="auto">Hello guys…<br />
im here with a little problem…<br />
i have a document and i have in document something like…</p>
<p dir="auto">test1,test2,test3<br />
test4,test5,test6</p>
<p dir="auto">etc…<br />
on every line are 2 “,” right?<br />
i wanted to replace only the first , on every line… the second , need to be ,</p>
<p dir="auto">Is any tips or plugin who can help me to solve this problem? maybe a plugin to select a world and to make a tab of them or something like this where i can replace with what i want?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17191/replace-only-this-first-lines-of-world-i-need-maybe-a-plugin</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 10:34:16 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17191.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Feb 2019 17:25:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Replace only this first lines of world (i need maybe a plugin?) on Tue, 26 Feb 2019 18:42:55 GMT]]></title><description><![CDATA[<p dir="auto">thanks sir. god bless you!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/40353</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/40353</guid><dc:creator><![CDATA[fanelise1]]></dc:creator><pubDate>Tue, 26 Feb 2019 18:42:55 GMT</pubDate></item><item><title><![CDATA[Reply to Replace only this first lines of world (i need maybe a plugin?) on Tue, 26 Feb 2019 17:45:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fanelise1" aria-label="Profile: fanelise1">@<bdi>fanelise1</bdi></a>, Welcome to the Community,</p>
<p dir="auto">You didn’t say what you wanted to replace it with.  But it’s pretty easy to do with regular expressions.</p>
<p dir="auto">Your FindWhat should be <code>,(.*)$</code>: this says find a comma, then store the rest of the line in group <code>$1</code> (aka <code>\1</code>).  Your replacement would then be <code>::$1</code> if you wanted to replace that first comma with <code>::</code>; the literal characters are replaced as-is, and the <code>$1</code> brings back the group1, which was the rest of the line from the original match.</p>
<p dir="auto">With your example data</p>
<pre><code>test1,test2,test3
test4,test5,test6
</code></pre>
<p dir="auto">that results in</p>
<pre><code>test1::test2,test3
test4::test5,test6
</code></pre>
<p dir="auto">-----<br />
Some boilerplate that I usually add the first time I respond to a new user’s search/replace question:</p>
<blockquote>
<p dir="auto">This forum is formatted using <a href="https://daringfireball.net/projects/markdown/syntax" rel="nofollow ugc">Markdown</a>, with a help link buried on the little grey <code>?</code> in the COMPOSE window/pane when writing your post.  For more about how to use Markdown in this forum, please see <a href="https://notepad-plus-plus.org/community/topic/14262/how-to-markdown-code-on-this-forum/4" rel="nofollow ugc">@Scott-Sumner’s post in the “how to markdown code on this forum” topic</a>, and my updates <a href="https://notepad-plus-plus.org/community/topic/14262/how-to-markdown-code-on-this-forum/9" rel="nofollow ugc">near the end</a>.  It is very important that you use these formatting tips – using single backtick marks around small snippets, and using code-quoting for pasting multiple lines from your example data files – because otherwise, the forum will change normal quotes (<code>""</code>) to curly “smart” quotes (<code>“”</code>), will change hyphens to dashes, will sometimes hide asterisks (or if your text is <code>c:\folder\*.txt</code>, it will show up as <code>c:\folder*.txt</code>, missing the backslash).  If you want to clearly communicate your text data to us, you <em>need</em> to properly format it.</p>
</blockquote>
<blockquote>
<p dir="auto">If you have further search-and-replace (“matching”, “marking”, “bookmarking”, regular expression, “regex”) needs, study <a href="https://notepad-plus-plus.org/community/topic/15765/faq-desk-where-to-find-regex-documentation" rel="nofollow ugc">this FAQ</a> and the documentation it points to.  Before asking a new regex question, understand that for future requests, many of us will expect you to show what data you have (exactly), what data you want (exactly), what regex you already tried (to show that you’re showing effort), why you thought that regex would work (to prove it wasn’t just something randomly typed), and what data you’re getting with an explanation of why that result is wrong. When you show that effort, you’ll see us bend over backward to get things working for you.  If you need help formatting, see the paragraph above.</p>
</blockquote>
<blockquote>
<p dir="auto">Please note that for all regex and related queries, it is best if you are explicit about what needs to match, <em>and</em> what <em>shouldn’t</em> match, and have multiple examples of both in your example dataset.  Often, what <em>shouldn’t match</em> helps define the regular expression as much or more than what <em>should match</em>.</p>
</blockquote>
]]></description><link>https://community.notepad-plus-plus.org/post/40348</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/40348</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 26 Feb 2019 17:45:15 GMT</pubDate></item></channel></rss>