<?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 every URL with the URL + text]]></title><description><![CDATA[<p dir="auto">I’m using Notepad++ and I can’t figure this out :</p>
<p dir="auto">I have a database of host and ports that looks like this :</p>
<pre><code>http://192.168.1.1:123
http://18.81.1.25:12
</code></pre>
<p dir="auto">And I have another database that I need to replace this text with</p>
<pre><code>http://host:port/123
http://host:port/124
http://host:port/125
http://host:port/126
</code></pre>
<p dir="auto">So that the result would be like this :</p>
<pre><code>http://192.168.1.1:123/123
http://192.168.1.1:123/124
http://192.168.1.1:123/125
http://192.168.1.1:123/126

http://18.81.1.25:12/123
http://18.81.1.25:12/124
http://18.81.1.25:12/125
http://18.81.1.25:12/126
</code></pre>
<p dir="auto">So on and so forth</p>
<p dir="auto">Thanks :)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18828/replace-every-url-with-the-url-text</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 00:36:11 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18828.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Jan 2020 16:47:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Replace every URL with the URL + text on Fri, 07 Feb 2020 15:55:24 GMT]]></title><description><![CDATA[<p dir="auto">Glad to hear that it works! You don’t owe me anything. Just pay it forward to someone else when the time comes :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50393</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50393</guid><dc:creator><![CDATA[jcg3675]]></dc:creator><pubDate>Fri, 07 Feb 2020 15:55:24 GMT</pubDate></item><item><title><![CDATA[Reply to Replace every URL with the URL + text on Wed, 05 Feb 2020 04:42:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a> It works perfectly just as intended !<br />
I don’t know how I can thank you so if you need anything just ask :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50334</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50334</guid><dc:creator><![CDATA[شعر Tech]]></dc:creator><pubDate>Wed, 05 Feb 2020 04:42:27 GMT</pubDate></item><item><title><![CDATA[Reply to Replace every URL with the URL + text on Wed, 05 Feb 2020 01:09:43 GMT]]></title><description><![CDATA[<p dir="auto">So I made a simple app, I call it HostPort, you can <a href="https://www.microsoft.com/store/apps/9N45WN7XCP7W" rel="nofollow ugc">download it from the Microsoft Store here</a>.</p>
<p dir="auto">Your PC needs to be running Windows 10, version 1903 or later. If you are using an earlier release of Windows 10, I can recompile it and update it pretty easily. Just tell me what version (you can find it in Settings &gt; System &gt; About). If you are using an older edition of Windows, like Windows 8 or Windows 7, it might take a little bit of time for me to port it–I do not usually work with 7 or 8. But I can try!</p>
<p dir="auto">If the program does not work as intended, let me know and I will make modifications as needed and update it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50331</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50331</guid><dc:creator><![CDATA[jcg3675]]></dc:creator><pubDate>Wed, 05 Feb 2020 01:09:43 GMT</pubDate></item><item><title><![CDATA[Reply to Replace every URL with the URL + text on Sun, 02 Feb 2020 22:26:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jcg3675" aria-label="Profile: jcg3675">@<bdi>jcg3675</bdi></a> Yes the integer always comes after the slash and no there’s no case like this :  <a href="http://host" rel="nofollow ugc">http://host</a>:port/123/456</p>
<p dir="auto">Thanks a lot for your help :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50260</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50260</guid><dc:creator><![CDATA[شعر Tech]]></dc:creator><pubDate>Sun, 02 Feb 2020 22:26:08 GMT</pubDate></item><item><title><![CDATA[Reply to Replace every URL with the URL + text on Wed, 29 Jan 2020 19:37:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D8%B4%D8%B9%D8%B1-tech" aria-label="Profile: شعر-Tech">@<bdi>شعر-Tech</bdi></a> I might be able to make a simple C# program that does this. In the second chunk that starts with <em><strong><a href="http://host" rel="nofollow ugc">http://host</a>:port/123</strong></em>, does the integer <em><strong>123</strong></em> always come after a slash?</p>
<p dir="auto">Or is there a case like this: <em><strong><a href="http://host" rel="nofollow ugc">http://host</a>:port/123/456</strong></em> where there is slash embedded in the number, you would want to copy <em><strong>123/456</strong></em> or just <em><strong>456</strong></em>?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50154</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50154</guid><dc:creator><![CDATA[jcg3675]]></dc:creator><pubDate>Wed, 29 Jan 2020 19:37:59 GMT</pubDate></item><item><title><![CDATA[Reply to Replace every URL with the URL + text on Tue, 28 Jan 2020 18:27:28 GMT]]></title><description><![CDATA[<p dir="auto">I’m sorry I have only tried manually replacing the URL and I have no programming knowledge.<br />
Thanks a lot for yourhelp, I thought a plugin was already available that does that sort of thing but in retrospect you’re right I absolutely need programming.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50138</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50138</guid><dc:creator><![CDATA[شعر Tech]]></dc:creator><pubDate>Tue, 28 Jan 2020 18:27:28 GMT</pubDate></item><item><title><![CDATA[Reply to Replace every URL with the URL + text on Tue, 28 Jan 2020 16:56:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D8%B4%D8%B9%D8%B1-tech" aria-label="Profile: شعر-Tech">@<bdi>شعر-Tech</bdi></a> said in <a href="/post/50133">Replace every URL with the URL + text</a>:</p>
<blockquote>
<p dir="auto">I can’t figure this out :</p>
</blockquote>
<p dir="auto">What did you try?  Generally, it’s considered polite to include what you’ve already tried when asking such a question.  That way, people can point you to the error of your ways (and get an idea of your current skill-level, so that the answer might be more understandable.)</p>
<p dir="auto">However, looking at your requirements: in general, wanting to do something with every line of group A combined with every line of group B is a <a href="https://en.wikipedia.org/wiki/Cartesian_product" rel="nofollow ugc">Cartesian Product</a>, and you will need general programming techniques.  You might want to follow <a href="https://community.notepad-plus-plus.org/topic/18139/how-to-merge/16">my advice</a> for a similar (but not necessarily identical) Cartesian Product from last summer – start with that; if it’s not exactly what you want, try reading the PythonScript help files to modify it to accomplish what you do want; if you get stuck and have a specific problem, show us what you’ve tried, what it gives you, and what you were hoping for.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/50135</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/50135</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 28 Jan 2020 16:56:15 GMT</pubDate></item></channel></rss>