<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>notepad ++ on Tutes Club</title><link>https://tutes.in/tag/notepad/</link><description>Recent content in notepad ++ on Tutes Club</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 29 Aug 2018 07:03:52 +0000</lastBuildDate><atom:link href="https://tutes.in/tag/notepad/index.xml" rel="self" type="application/rss+xml"/><item><title>Extracting names from given list of URLs (using regex)</title><link>https://tutes.in/extracting-names-from-given-list-of-urls-using-regex/</link><pubDate>Thu, 09 Aug 2018 08:14:35 +0000</pubDate><guid>https://tutes.in/extracting-names-from-given-list-of-urls-using-regex/</guid><description>&lt;h5 id="let-us-extract-name-form-the-url"&gt;let us extract name form the URL&lt;/h5&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;https://www.google.com/name?=rajiv
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h5 id="paste-the-url-in-the-notepad-and-press-crtlf--and-select-regular-expressions--from-search-mode"&gt;paste the URL in the notepad and press crtl+f , and select ‘regular expressions ‘ from search mode&lt;/h5&gt;
&lt;p&gt;&lt;a href="https://tutes.in/wp-content/uploads/2018/08/find.jpg"&gt;&lt;img alt="find in notepad" loading="lazy" src="https://tutes.in/wp-content/uploads/2018/08/find.jpg"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h5 id="now-enter-the-regex-in-the-find-tab-to-fetch-names"&gt;now, enter the regex in the find tab to fetch names&lt;/h5&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;.*?\?=(\w+)$
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now, the selected name will be fetched form regex as (\1).&lt;/p&gt;
&lt;p&gt;it can work on numerous links like:-&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;https://www.google.com/name?=rajiv/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/asdas?=borde/id=?
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/asdasd?=bordex
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/name?=bordet
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/asdasd?=border
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/jsciloji?=bordeeeee
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/name?=bordee
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/name?=bordeeeeeee
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/09328e?=bordeeee
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/name?=borde
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;http://www.example.com/lpaosd?=borde
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;And only the part after first “?=” will be fetched&lt;/p&gt;</description></item></channel></rss>