Goodreads helps you keep track of books you want to read.
Start by marking “Regular Expressions Cookbook” as Want to Read:
Regular Expressions Cookbook
Enlarge cover
Rate this book
Clear rating
Open Preview

Regular Expressions Cookbook

4.09  ·  Rating details ·  174 ratings  ·  10 reviews
This cookbook provides more than 100 recipes to help you crunch data and manipulate text with regular expressions. Every programmer can find uses for regular expressions, but their power doesn't come worry-free. Even seasoned users often suffer from poor performance, false positives, false negatives, or perplexing bugs. Regular Expressions Cookbook offers step-by-step inst ...more
Paperback, 510 pages
Published May 29th 2009 by O'Reilly Media (first published May 15th 2009)
More Details... Edit Details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Regular Expressions Cookbook, please sign up.

Be the first to ask a question about Regular Expressions Cookbook

Community Reviews

Showing 1-30
Average rating 4.09  · 
Rating details
 ·  174 ratings  ·  10 reviews

More filters
Sort order
Start your review of Regular Expressions Cookbook
Aug 28, 2012 rated it it was amazing  ·  review of another edition
Recommends it for: if you need a regex decoder ring
Shelves: 2012, technical
Although I run the risk of fawning all over this book here, Jan Goyvaerts and Steven Levithan's Regular Expressions Cookbook (Second Edition) (O'Reilly, 2012) is a technical text that I will gladly describe using words like "essential" and "indispensable" and "invaluable". It should be on every working programmer's bookshelf, if not on her desk. It is exhaustive and rigorous, covering the major regex flavors across eight popular/widespread general purpose languages. [1] If your work brings you i ...more
Gene Taylor
Jan 18, 2017 rated it really liked it
Contains a clear introduction to what regular expressions are and how to use them. It also covers common pitfalls when working with
regexes like explosive backtracking and the platform specific differences in behavior. For this reason, we are shown the solution expressions for the following languages - C#, Java, JavaScript, PHP, Perl, Python, Ruby, and VB.NET.

Contains (100+) examples for most of the common regular expression use cases like validating email addresses, parsing a Common Log Format f
Jan 03, 2019 rated it it was amazing  ·  review of another edition
Shelves: regex
I read until the end of chapter 5, and skim to the end.
This book is very excellent book to learn regular expression, this book and “mastering regular expression” is must-read regex books.
Jeanne Boyarsky
Oct 07, 2012 rated it it was amazing  ·  review of another edition
Shelves: technology
"Regular Expressions Cookbook" covers reg exp syntax in different languages and patterns for building them. I had read O'Reilly's "Mastering Regular Expressions" years ago and liked it a lot. I feel the same way about this book.

While the book doesn't require regular expression experience, it is a tough read if you are coming in completely fresh. At least read a tutorial online first. It is a great book for building on basic or advanced knowledge.

Chapter two is like a book in itself. The author
Jun 27, 2015 rated it really liked it  ·  review of another edition
I read the first couple of chapters, and then skimmed through the rest of the various recipes. It has good coverage of how regular expressions work in general, and the recipes cover a broad range of use cases. It was a good refresher on some areas which I hadn't used much. ...more
Nov 14, 2012 rated it really liked it
A very practical approach, especially the language specific caveats..
May 18, 2012 rated it really liked it
Each and every symbol and constructs making a regular expeession is explained can start feeling confident by reading the first chapter itself..
Strongly recommended
Feb 28, 2012 rated it it was amazing
Great read! Lots of insightful tips n tidbits!
Definitely a keeper for me!
Dec 27, 2012 rated it really liked it
Shelves: 2013, tech
so many ways of using regular expressions.
rated it it was amazing
Dec 23, 2015
rated it it was amazing
Jan 23, 2015
rated it it was amazing
May 14, 2014
José Mora
rated it really liked it
Dec 27, 2017
rated it really liked it
Apr 14, 2016
Robert Day
rated it it was amazing
Feb 06, 2020
Eugene Mah
rated it really liked it
Nov 27, 2011
Wook Wook
rated it really liked it
Aug 04, 2014
rated it it was amazing
Aug 07, 2018
rated it really liked it
Jan 18, 2017
Delian Delchev
rated it really liked it
Sep 24, 2019
rated it really liked it
Oct 22, 2015
rated it really liked it
Dec 25, 2014
cyrise Brown
rated it really liked it
Aug 04, 2017
Jivko Petiov
rated it really liked it
Jan 22, 2012
rated it really liked it
Mar 29, 2016
Rhaj Vijay
rated it it was amazing
Jul 18, 2016
Balazs Nadasdi
rated it it was amazing
Jan 02, 2019
Johan Pretorius
rated it really liked it
May 17, 2015
Nikita Shpilevoy
rated it it was amazing
Feb 20, 2017
« previous 1 3 4 5 6 next »
There are no discussion topics on this book yet. Be the first to start one »

Readers also enjoyed

  • Mastering Regular Expressions
  • The Age of Surveillance Capitalism: The Fight for a Human Future at the New Frontier of Power
  • The Puller
  • Superheavy: Making and Breaking the Periodic Table
  • The God Delusion
  • The Fall of Gondolin (Middle-Earth Universe)
  • Eats, Shoots & Leaves: The Zero Tolerance Approach to Punctuation
  • Effective Python: 59 Specific Ways to Write Better Python
  • Tiny Python 3.6 Notebook: Curated Examples (Treading on Python)
  • Portfolio Construction for Today's Markets: A practitioner's guide to the essentials of asset allocation
  • A Short History of Nearly Everything
  • The Bicentennial Man and Other Stories
  • Algorithms of Oppression: How Search Engines Reinforce Racism
  • Thrawn (Star Wars: Thrawn, #1)
  • Thrawn: Treason (Star Wars: Thrawn, #3)
  • Thrawn: Alliances (Star Wars: Thrawn, #2)
  • Think Black: A Memoir of Sacrifice, Success, and Self-Loathing in Corporate America
  • Prelude to Foundation
See similar books…

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »

News & Interviews

  Melissa Albert burst onto the YA scene (and catapulted into readers' hearts) with her 2018 debut The Hazel Wood. This darkly fantastical...
65 likes · 0 comments