Edit product

Ruby Regexp

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 Ruby 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.

Exercises are also included to test your understanding.


You should have prior experience working with Ruby, should know concepts like blocks, string formats, string methods, Enumerable, etc.

Sample chapters

For a preview of the book, see sample chapters at https://github.com/learnbyexample/Ruby_Regexp/blob/master/sample_chapters/ruby_regexp_sample.pdf

GitHub repo

Visit https://github.com/learnbyexample/Ruby_Regexp for code snippets and exercise files. The repo also has solutions for exercises.

2 ratings

  • You'll get PDF and EPUB versions of the book.
  • Length102 pages
  • Last Updated2021-03-29


Ruby Regexp

Enter your info to complete your purchase

Give as a gift


or pay with
pp paypal