<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Regex on Janusworx</title><link>https://janusworx.com/tags/regex/</link><description>Recent content in Regex on Janusworx</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feedback@janusworx.com (Mario Jason Braganza)</managingEditor><webMaster>feedback@janusworx.com (Mario Jason Braganza)</webMaster><copyright>© 2026, Mario Jason Braganza</copyright><lastBuildDate>Thu, 09 Feb 2023 19:22:28 +0530</lastBuildDate><atom:link href="https://janusworx.com/tags/regex/index.xml" rel="self" type="application/rss+xml"/><item><title>What I Learned Today (9th of February, 2023)</title><link>https://janusworx.com/personal/what-i-learned-today-2023-02-09/</link><pubDate>Thu, 09 Feb 2023 19:22:28 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/personal/what-i-learned-today-2023-02-09/</guid><description>
&lt;h3 class="relative group"&gt;Regex
 &lt;div id="regex" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#regex" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Started doing regex exercises, so i don’t get bored doing only python. will alternate them for now&lt;/li&gt;
&lt;li&gt;Using Practice Makes Regexp. I have only the book though. It’s now expanded to include video solutions too. Highly recommend any of Reuven’s courses&lt;/li&gt;
&lt;li&gt;Set up environment and did one exercise which was to look up the user’s input in a dictionary (a word dictionary. not a programming dictionary)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;Linux Mint
 &lt;div id="linux-mint" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#linux-mint" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Yesterday’s work was for &lt;a href="https://janusworx.com/blog/what-i-learned-today-2023-02-08/#update" &gt;naught&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;Devops
 &lt;div id="devops" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#devops" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Kubernetes, began doing some exercises&lt;/li&gt;
&lt;li&gt;Set up the environment today&lt;/li&gt;
&lt;li&gt;Spoke with a friend about practicing Ansible / Devops stuff&lt;/li&gt;
&lt;li&gt;Learnt about putting in environment variables into a docker compose file and then using them in a Django container&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;Hugo
 &lt;div id="hugo" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#hugo" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Diddled with the &lt;code&gt;code&lt;/code&gt; element font size on the blog, to make it look a little larger&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;Urdu
 &lt;div id="urdu" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#urdu" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Learnt about the “tashdiid” symbol that helps add emphasis to a consonant&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;Physical Fitness
 &lt;div id="physical-fitness" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#physical-fitness" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Nearing the end of my month long journey.&lt;/li&gt;
&lt;li&gt;Have gotten over the pain hump, but the personal trainer isn’t quite sympatico with my needs. He’s a good egg, but we seem to be talking past each other. Wonder what to do when my time is up mid week next.&lt;/li&gt;
&lt;li&gt;Did legs today. Went well. Jogged 10m after. Walked 30m after that.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;

Feedback on this post? Mail me at &lt;a href="mailto:&amp;amp;#102;&amp;amp;%23101;&amp;amp;%23101;&amp;amp;%23100;&amp;amp;%2398;&amp;amp;%2397;&amp;amp;%2399;&amp;amp;%23107;&amp;amp;%2364;&amp;amp;%23106;&amp;amp;%2397;&amp;amp;%23110;&amp;amp;%23117;&amp;amp;%23115;&amp;amp;%23119;&amp;amp;%23111;&amp;amp;%23114;&amp;amp;%23120;&amp;amp;%2346;&amp;amp;%2399;&amp;amp;%23111;&amp;amp;%23109;" &gt;feedback@janusworx.com&lt;/a&gt;
&lt;br&gt;

&lt;br&gt;

P.S. Subscribe to my &lt;a href="https://janusworx.com/subscribe/" target="_blank" rel="noreferrer"&gt;mailing list!&lt;/a&gt;&lt;br&gt;
Forward these posts and letters to your friends and get them to subscribe!&lt;br&gt;
P.P.S. Feed my &lt;a href="https://www.amazon.in/hz/wishlist/ls/2QAUKHHAMOOVS?ref_=wl_share" target="_blank" rel="noreferrer"&gt;insatiable reading habit.&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Using Regex to Prepend to Titles in Calibre</title><link>https://janusworx.com/work/using-regex-to-prepend-to-titles-in-calibre/</link><pubDate>Sat, 20 Nov 2021 12:04:27 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/using-regex-to-prepend-to-titles-in-calibre/</guid><description>&lt;p&gt;So I do this peculiar thing, where I prepend the author’s initials to the title of every book I add to &lt;a href="https://calibre-ebook.com/" target="_blank" rel="noreferrer"&gt;Calibre.&lt;/a&gt;&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;And all these years, I’ve just been manually editing the metadata, everytime I added a book, and changing the titles to what I want.&lt;br&gt;
It’s not a problem if it’s just one book, but I normally tend to go hogwild with authors, normally buying out / &lt;a href="https://archive.org/search.php?query=creator%3A%22Jules%20Verne%22&amp;amp;and[]=mediatype%3A%22texts%22" target="_blank" rel="noreferrer"&gt;downloading&lt;/a&gt; all their work.&lt;br&gt;
And now that I’ve learnt the basics of the hammer called &lt;a href="https://janusworx.com/tags/regex/" &gt;regex&lt;/a&gt;, I wanted to see, you guessed it, if there was a way to quickly do this using regular expressions in Caliber, which &lt;a href="https://manual.calibre-ebook.com/regexp.html" target="_blank" rel="noreferrer"&gt;has inbuilt support for regexes&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A quick look through the documentation led me to the &lt;a href="https://manual.calibre-ebook.com/metadata.html#search-and-replace" target="_blank" rel="noreferrer"&gt;search and replace page&lt;/a&gt;, which explains really pretty well … well, how search and replace works :)&lt;/p&gt;
&lt;p&gt;So what did I need to do?&lt;br&gt;
I needed to take the initial character of the title of any book.&lt;br&gt;
And then replace it with author initials + that character&lt;/p&gt;
&lt;p&gt;So here’s the Calibre search and replace box when I choose to edit the metadata for multiple books.&lt;br&gt;
I choose Regular expression as my MO and I choose the title field to work with.&lt;br&gt;
You can see the titles of the books, I chose below&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://janusworx.com/images/2021/cb1.png" &gt;&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt="jwcb1"
 src="https://janusworx.com/images/2021/cb1.png"
 &gt;&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;

&lt;p&gt;Then, in the “Search for:” box, I go looking for a single character at the beginning of the title.&lt;br&gt;
With regex I express that as a &lt;code&gt;^.&lt;/code&gt;&lt;br&gt;
I’ve surrounded that pattern with &lt;code&gt;()&lt;/code&gt; brackets to tell regex to remember what it matched.&lt;br&gt;
You’ll see that I’ve matched the character succcesfully and the “A” from A Journey … and the “T” from Twenty Thousand … are missing in the Test results in the bottom right.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://janusworx.com/images/2021/cb2.png" &gt;&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt="jwcb2"
 src="https://janusworx.com/images/2021/cb2.png"
 &gt;&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;

&lt;p&gt;Now in the “Replace with:” box, I tell the regex engine what to match it with.&lt;br&gt;
Which in my case are the author initials “JV” followed by a “ - ” seperator followed by a &lt;code&gt;\1&lt;/code&gt; which tells it to put the match that I found earlier back in.&lt;br&gt;
You can see, now that the titles match the crazy way, I want them.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://janusworx.com/images/2021/cb3.png" &gt;&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt="jwcb3"
 src="https://janusworx.com/images/2021/cb3.png"
 &gt;&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;

&lt;p&gt;We do an ok, and &lt;em&gt;&lt;strong&gt;Tada!&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
The books are renamed in the library :)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://janusworx.com/images/2021/cb4.png" &gt;&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt="jwcb4"
 src="https://janusworx.com/images/2021/cb4.png"
 &gt;&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;

&lt;p&gt;All hail the power of regex!&lt;/p&gt;
&lt;p&gt;P.S. Subscribe to my &lt;a href="https://janusworx.com/subscribe/" target="_blank" rel="noreferrer"&gt;mailing list&lt;/a&gt;!&lt;br&gt;
Forward these posts and letters to your friends and get them to subscribe!&lt;br&gt;
P.P.S. Feed my &lt;a href="https://www.amazon.in/hz/wishlist/ls/2QAUKHHAMOOVS?ref_=wl_share" target="_blank" rel="noreferrer"&gt;insatiable reading habit&lt;/a&gt;.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;&lt;a href="https://youtu.be/4fndeDfaWCg?t=25" target="_blank" rel="noreferrer"&gt;Why?&lt;/a&gt;&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;Calibre is a rock solid, does not get in your way, marvellously multifunctional way of categorising ebooks and comics. And that is just scratching the tip of everything Calibre can do&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:3"&gt;
&lt;p&gt;Click the images for a larger version&amp;#160;&lt;a href="#fnref:3" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Regular Expressions (Regex) Resources</title><link>https://janusworx.com/work/regular-expressions-regex-resources/</link><pubDate>Wed, 17 Nov 2021 07:04:51 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/regular-expressions-regex-resources/</guid><description>&lt;p&gt;Will update this page whenever I come across something regex, that I love.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Damian Conway’s 5 hour, &lt;a href="https://learning.oreilly.com/videos/understanding-regular-expressions/9781491996300/" target="_blank" rel="noreferrer"&gt;Understanding Regular Expressions&lt;/a&gt; series. This one is the bestestest regex resource ever. If you know the basics of programming and then want to pick up Regular Expressions, this is it.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;br&gt;
And Damian is one of the finest, bestestestest teachers around.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Damian Conway’s &lt;a href="https://www.youtube.com/watch?v=ubvSjW6Nyqk" target="_blank" rel="noreferrer"&gt;hour long youtube talk&lt;/a&gt; and the &lt;a href="https://slides.yowconference.com/yowwest2015/Conway-EverythingYouKnowAboutRegexesIsWrong.pdf?feature=oembed" target="_blank" rel="noreferrer"&gt;accompanying slides&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://twitter.com/regextip" target="_blank" rel="noreferrer"&gt;RegexTip&lt;/a&gt;, one of John D Cook’s many twitter accounts. This one specialises in, you guessed it, regex tips&lt;/li&gt;
&lt;li&gt;Regex cheatsheets? &lt;a href="https://resources.oreilly.com/examples/0636920098690/-/blob/master/RegexesCheatSheet.pdf" target="_blank" rel="noreferrer"&gt;This one&lt;/a&gt;, by Damian Conway and &lt;a href="https://cheatography.com/davechild/cheat-sheets/regular-expressions/" target="_blank" rel="noreferrer"&gt;this one&lt;/a&gt; by Dave Child.&lt;/li&gt;
&lt;li&gt;Want to keep regex top of mind? Use Anki? &lt;a href="https://ankiweb.net/shared/info/284568815" target="_blank" rel="noreferrer"&gt;This is the deck I love&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Unnecessary, ars gratia artis like Deep Dive? &lt;a href="https://learning.oreilly.com/library/view/mastering-regular-expressions/0596528124/" target="_blank" rel="noreferrer"&gt;The Friedl book&lt;/a&gt; is it.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;&lt;em&gt;Also don’t be like me and try to learn Regex first. You’re just making it harder on yourself. It is indeed possible, but nearly every regex resource presumes basic programming knowledge. It does not have to be much. Loops and variables and such, &lt;a href="https://automatetheboringstuff.com/" target="_blank" rel="noreferrer"&gt;Automate the Boring Stuff&lt;/a&gt; is good for that, but I don’t want to digress into Python resources&lt;/em&gt; 😂&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item><item><title>Multiline Regex Search in VS Code</title><link>https://janusworx.com/work/multiline-regex-search-in-vs-code/</link><pubDate>Mon, 16 Aug 2021 15:18:10 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/multiline-regex-search-in-vs-code/</guid><description>&lt;p&gt;&lt;a href="https://janusworx.com/images/2021/kindle-notes.png" &gt;&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt="picture of notes imported from an amazon kindle in vscode"
 src="https://janusworx.com/images/2021/kindle-notes.png"
 &gt;&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;hr style='margin-left: auto; margin-right: auto;margin-bottom: 40px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;' /&gt; 
&lt;p&gt;This is a picture of my notes, when I import them in from the Kindle.&lt;br&gt;
And every time I have to corral them into some sort of structure or write a blog post, I needed to laboriously get rid of all the Kindle metadata with multiple searches (and replaces.)&lt;/p&gt;
&lt;p&gt;I mean these lines&lt;/p&gt;
&lt;div class="highlight-wrapper"&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;==========
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Draft No. 4 (John McPhee)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;- Your Highlight on page 27 | location 406-407 | Added on Sunday, 15 August 2021 12:43:15&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;But having &lt;a href="https://janusworx.com/blog/python-regular-expressions-real-world-projects/" target="_blank" rel="noreferrer"&gt;learnt Regex&lt;/a&gt; about a year ago, I have been using it on and off and have come to appreciate the power it offers.&lt;br&gt;
And I’ve been increasingly trying to solve all of my text search issues using regex, everywhere.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;With a recent book, I managed to &lt;a href="https://cb.janusworx.com/notice/A7nXyrNLRp2VvF2ceu" target="_blank" rel="noreferrer"&gt;use regex&lt;/a&gt; to get rid of single lines all at once.&lt;br&gt;
It still took me 3 sets of search and replaces though.&lt;br&gt;
So today, I got lazier and curiouser and wondered if I could do all three lines together.&lt;br&gt;
I was trying combinations of &lt;code&gt;/g&lt;/code&gt; and &lt;code&gt;/gs&lt;/code&gt; to somehow get the regex engine to span lines, but no dice.&lt;br&gt;
A bit of web surfing led me to &lt;a href="https://code.visualstudio.com/updates/v1_29#_multiline-search" target="_blank" rel="noreferrer"&gt;this post&lt;/a&gt; which told me that, all I needed to do was match newline literals &lt;code&gt;\n&lt;/code&gt;&lt;br&gt;
This led, to me tinkering and coming up with this search regex&lt;br&gt;
&lt;code&gt;==========[\n\s]D.*[\n\s]-.*&lt;/code&gt;&lt;br&gt;
Which led to …&lt;/p&gt;
&lt;hr style='margin-left: auto; margin-right: auto;margin-bottom: 40px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;' /&gt;
&lt;p&gt;&lt;a href="https://janusworx.com/images/2021/kindle-notes-2.png" &gt;&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt="picture of notes imported from an amazon kindle in vscode with search results"
 src="https://janusworx.com/images/2021/kindle-notes-2.png"
 &gt;&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;hr style='margin-left: auto; margin-right: auto;margin-bottom: 40px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;' /&gt; 
&lt;p&gt;matching everything in one fell swoop!&lt;br&gt;
All hail the power of regex!&lt;/p&gt;
&lt;p&gt;P.S. Subscribe to my &lt;a href="https://janusworx.com/subscribe/" target="_blank" rel="noreferrer"&gt;mailing list&lt;/a&gt;!&lt;br&gt;
Forward these posts and letters to your friends and get them to subscribe!&lt;br&gt;
P.P.S. Feed my &lt;a href="https://www.amazon.in/hz/wishlist/ls/2QAUKHHAMOOVS?ref_=wl_share" target="_blank" rel="noreferrer"&gt;insatiable reading habit&lt;/a&gt;.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;(emphasis on trying. I’m no regex genius)&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item></channel></rss>