Free

Ruby Regexp

What's this about?

Scripting and automation tasks often need to extract particular portions of text from input data or modify them from one format to another. This book will help you learn Regular Expressions, a mini-programming language for all sorts of text processing needs.

The book heavily leans on examples to present features of regular expressions one by one. It is recommended that you manually type each example and experiment with them. Understanding both the nature of sample input string and the output produced is essential. As an analogy, consider learning to drive a bike or a car — no matter how much you read about them or listen to explanations, you need to practice a lot and infer your own conclusions. Should you feel that copy-paste is ideal for you, code snippets are available chapter wise on GitHub.

You'll Learn

Author

Sundeep Agarwal

I'm Sundeep Agarwal, author of 12 programming books 📚 and counting 🚀.
I write about Regular Expressions, CLI one-liners, Scripting Languages and Vim. I also maintain several curated resource lists.