<?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[Is there a way to export text files with URLs of the same domain extracted from a big text file with tab-separated URLs?]]></title><description><![CDATA[<p dir="auto">I have a big text file with over 5000 URLs tab-separated in it and I want to have a mini program to extract and cut URLs of the same domain and put them into a new text file with the name of the domain. For example, if we have the following URLs in the text file (Lexicographically ascending),</p>
<p dir="auto"><a href="https://www.topuniversities.com/" rel="nofollow ugc">https://www.topuniversities.com/</a><br />
<a href="https://www.topuniversities.com/university-rankings" rel="nofollow ugc">https://www.topuniversities.com/university-rankings</a><br />
<a href="https://www.topuniversities.com/university-rankings/world-university-rankings/2018" rel="nofollow ugc">https://www.topuniversities.com/university-rankings/world-university-rankings/2018</a><br />
<a href="https://www.translate.com/" rel="nofollow ugc">https://www.translate.com/</a></p>
<p dir="auto">I want to have the first three URLs to cut and paste into a new file with the name “topuniversities”. For the 4th URL, I want to put it into another text file called “Translate” and so on.</p>
<p dir="auto">I know Notepad++ is very complex. Is there any way to do this?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/15157/is-there-a-way-to-export-text-files-with-urls-of-the-same-domain-extracted-from-a-big-text-file-with-tab-separated-urls</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 15:55:19 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/15157.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Jan 2018 18:39:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is there a way to export text files with URLs of the same domain extracted from a big text file with tab-separated URLs? on Sun, 28 Jan 2018 00:54:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sepehr-e" aria-label="Profile: Sepehr-E">@<bdi>Sepehr-E</bdi></a></p>
<blockquote>
<p dir="auto">I know Notepad++ is very complex. Is there any way to do this?</p>
</blockquote>
<p dir="auto">Yes, a script, e.g. python script, could do this BUT can we rely on your example data?<br />
I mean, it is relatively easy to identify an url but getting the name part<br />
of subdomain isn’t that easy.</p>
<p dir="auto">So, does every subdomain follow your example?<br />
This is hostname.sub.domain like <a href="http://www.translate.com" rel="nofollow ugc">www.translate.com</a>?<br />
Or could it be that you have also something like<br />
<a href="http://x15w.sub.text.org/" rel="nofollow ugc">http://x15w.sub.text.org/</a>…<br />
If the latter is the case, what should be used as the filename?<br />
sub or text or sub.text or subtext or …</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/29797</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/29797</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sun, 28 Jan 2018 00:54:05 GMT</pubDate></item></channel></rss>