Awesome Regex

29 ratings
I want this!

Awesome Regex

29 ratings

Bundle details

Example based guide to mastering Regular Expressions in various programming languages, text editors and command line tools. The bundle includes the following seven books:

The above links point to GitHub repos for the respective book. These repos have files used in examples/exercises and other information related to the books.

  • Python re(gex)?, JavaScript RegExp and Ruby Regexp books are solely focused on regular expressions.
  • GNU grep and ripgrep, GNU sed and GNU awk books will help you learn how to use these command line tools from the terminal. The various regex flavors used in these tools are discussed in dedicated chapters/sections with plenty of examples. See my blog post for subtle differences between the BRE/ERE implementations in these tools.
  • Vim Reference Guide focuses on the Vim text editor. There's an entire chapter for the Vim regex flavor.


I love your books on regex...As a student from the Digital VLSI space, it is indeed useful now and definitely in the future. It's really well written and really easy to understand the examples — feedback on reddit

Step up your cli fu with this fabulous intro & deep dive into awk. I learned a ton of tricks! — feedback on twitter

Literally was having a mini-breakdown about not understanding Regex in algorithm solutions the other day and now I'm feeling so much better, so thank YOU! I genuinely feel like I'm developing the skill for spotting when and where to use them after so much practice! — feedback on twitter

I consider myself pretty experienced at shell-fu and capable of doing most things I set out to achieve in either bash scripts or fearless one-liners. However, my awk is rudimentary at best, I think mostly because it's such an unforgiving environment to experiment in. These books you've written are great for a bit of first principles insight and then quickly building up to functional usage. I will have no hesitation in referring colleagues to them! — feedback on Hacker News

Hi, great work releasing this! Trying to explain vim concisely is always an interesting challenge and I had a great time reading your attempt in this book. I always find it really interesting on how people try to group certain vim functions in a way that makes sense to people that don't use vim. I think you cover that idea pretty well in your 'Vim philosophy and features' section whilst not making it overly abstract and keeping it relatable. — feedback on Hacker News

Bundle cover image created using canva.

I want this!
42 sales

You'll get PDF and EPUB versions of all the books.

Last Updated


(29 ratings)
5 stars
4 stars
3 stars
2 stars
1 star
Powered by